1. AC Question's Avatar
    I have been doing this tutorial: web address: msdn.microsoft.com/en-us/library/mt605324.aspx

    I can get it working fine. But i am stuck on one point. I'm trying to expand it a little.

    On this line:

    //------------------------------- Face[] result = faceServiceClient.detect( params[0], true, // returnFaceId false, // returnFaceLandmarks null // returnFaceAttributes: a string like "age, gender" ); //-------------------------------

    The line where it says null. I want to replace this, by getting the API to return both the age and gender of anyone in the photograph. How do i do this? I've been trying to figure it out for a few hours now. (i'm new to android programming)

    It seems to be looking for an object of type: FaceAttributeType[] Which i think should contain the enum values. i've no idea how to wire this section. Can you help me please? Thanks

    Conor
    04-16-2016 03:08 AM

Similar Threads

  1. Order of Watch Faces
    By maf113 in forum Samsung Gear S2
    Replies: 5
    Last Post: 04-20-2016, 02:29 PM
  2. Discs Watch Face
    By Azi8469 in forum Huawei Watch
    Replies: 2
    Last Post: 04-16-2016, 02:49 AM
  3. Replies: 3
    Last Post: 04-15-2016, 05:34 PM
  4. Replies: 0
    Last Post: 04-15-2016, 03:03 PM
LINK TO POST COPIED TO CLIPBOARD