You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Fotoapparat FaceDetector uses class FaceDetector(a class in library) to do face detection actually. The FaceDetector.detectFaces will return the detected faces location. You can use below code to do this:
Now you get the location of detected faces. And then you can use Google Vision API to detect the face item location. Lastly, just draw the face with rectangle and face item with number on your app(in bitmap or overlay).
Note: The nv21Image is the byte array stores the image nv21 format data.
I want to use Fotoapparat in combination with the Google Vision API and work with landmarks to detect faces, eyes, nose and mouth; like this:
The Fotoapparat FaceDetector only shows a square around faces.
Can I use your library together with Google's API? If so: how?
The text was updated successfully, but these errors were encountered: