udacity / AdvancedAndroid_Emojify

139 stars 452 forks source link

Always detects 0 faces #39

Open fullmers opened 6 years ago

fullmers commented 6 years ago

Tested on Samsung S5 and Samsung S7

patrickjkennedy commented 6 years ago

Hi @fullmers, one issue I came across was that I needed to add two meta-data tags to the app's AndroidManifest.xml.

    <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/>
    <meta-data android:name="com.google.android.gms.vision.DEPENDENCIES" android:value="barcode"/>

This StackOverflow post describes the solution in more detail.

Ideally there would be an additional TODO for this required step.

hudsonpereira commented 6 years ago

@pkennedy89 didn't work for me

Sagar0-0 commented 2 years ago

62 Here have a look at this, I modified it to run in 2022. Assign this issue to me and then close it when you got your application successfully build :)