Cognitive-Face-Android | Cognitive Services Face client library | Computer Vision library
kandi X-RAY | Cognitive-Face-Android Summary
kandi X-RAY | Cognitive-Face-Android Summary
This repo contains the Android client library & sample for the Microsoft Face API, an offering within Microsoft Cognitive Services, formerly known as Project Oxford.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Updates a person face
- Gets the url with parameters
- Add a person face to the server
- Gets the url with parameters
- Detect face images
- Shows the ui after the image
- Draws the face rectangles on the bitmap
- Add a PersonFace to a large person group
- Adds a person to a large person group
- Sets the URI of a face
- Set a new face URI
- Performs a lookup
- Highlights the selected face thumbnail
- Sets the Ui after a select image
- Adds a list ofisted faces to a client
- This method is called when an image is selected
- Add features to a large face list
- Initializes the activity model
- Initializes the person group
- Handles an image selection
- Detect image selection
- Determine if an image is selected
- This method is called when an intent is received
- Show the image after the specified index
- Show Ui after image
- Add a new profile to a large face list
- Uploads a new image to a client
Cognitive-Face-Android Key Features
Cognitive-Face-Android Examples and Code Snippets
Community Discussions
Trending Discussions on Cognitive-Face-Android
QUESTION
I am using the Cognitive-Face-Android sample app found in github (https://github.com/Microsoft/Cognitive-Face-Android).
My subscription key is working after getting help from @huxuan. However, when I try to run in the android emulator to do a "Detection" or "Add a group" in the Identification, both get an error.
The picture is in jpeg format and size is 54KB which complies with the limits specified in the FACE API documentation.
Can anyone tell me what is the fix to this?
...ANSWER
Answered 2017-May-26 at 03:48I just downloaded the sample app and run it on an emulator, and used a JPG image downloaded from the web, and stored both in the Downloads
folder and the SD card, and it works alright.
Regarding the issue you mentioned in the GitHub thread about Access denied. Invalid subsription key
, make sure that on file
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Cognitive-Face-Android
Start Android Studio and open project from Face > Android > Sample folder.
In Android Studio -> "Project" panel -> "Android" view, open file "app/res/values/strings.xml", and find the line "Please_add_the_subscription_key_here;". Replace the "Please_add_the_subscription_key_here" value with your subscription key string from the first step. If you cannot find the file "strings.xml", it is in folder "Sample\app\src\main\res\values\string.xml".
In Android Studio, select menu "Build > Make Project" to build the sample.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page