Results 1 to 3 of 3
  1. #1
    rockos is offline Member
    Join Date
    Apr 2011
    Posts
    1
    Rep Power
    0

    Default Face Dections CTS

    public void testFindFaces() throws Exception {
    long waitMsec = 5000;
    Thread.sleep(waitMsec);
    assertTrue(mActivity.getDetectedFaces().size() == 5);
    }


    Then when I run the CTS for face detection test, I get

    junit.framework.AssertionFailedError at android.media.cts.FaceDetectorTest.testFindFaces(F aceDetectorTest.java:68)

    there are 5 faces in the test pic, however only 4 faces are detected.
    Can anyone help me out to find a fix for this

  2. #2
    ozzyman's Avatar
    ozzyman is offline Senior Member
    Join Date
    Mar 2011
    Location
    London, UK
    Posts
    797
    Blog Entries
    2
    Rep Power
    4

    Default

    Your assertTrue came out false (because only 4 faces found) thats why you get the AssetionFailedError. Not sure how anyone here can help you improve your face detection to find the 5th face.

  3. #3
    arvindms82 is offline Member
    Join Date
    Sep 2011
    Posts
    1
    Rep Power
    0

    Default Re: Face Dections CTS

    Hi,

    Even i faced the for same problem.
    The problem was solved by chipset vendor (TI) after raising SR

    This is FYI

    Thanks

Similar Threads

  1. Solr- New face of Search
    By petermatilda in forum Java Software
    Replies: 1
    Last Post: 08-30-2010, 07:05 PM
  2. face problem to read data from microsoft access
    By chyeeqi in forum New To Java
    Replies: 7
    Last Post: 08-21-2009, 02:08 PM
  3. Add Java Server Face Fragment in JSP with JAVA
    By fabio.beoni in forum New To Java
    Replies: 0
    Last Post: 02-05-2009, 01:14 PM
  4. Basic Face Application
    By adam87 in forum New To Java
    Replies: 6
    Last Post: 03-14-2008, 07:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •