2nd of a series of projects I am using to learn how to implement the Google Mobile Vision API.
This is a working demo that draws yellow boxes around detected faces.
- Works for only STATIC images.
- Image/face must not be slanting.
- Does not detect the side of a face.
- Does not detect an image in poor lighting.
- There are images in the drawable folder you can test with. You can also import your preferred image(s), just remember to set it on this line in the MainActivity.java class.
bitmap = BitmapFactory.decodeResource(getApplicationContext().getResources(), R.drawable.a);
Tutorial source: EDMTDev. Youtube link: http://youtube.com/eddydn71