I would like to know how to get camera instance from CWAC- CAM2 library in android so that I can attach face detector to camera for face detection. Need know how to do this in android ?
Asked
Active
Viewed 109 times
1 Answers
0
That is not supported by the library. Use the camera APIs directly, skipping the library.

CommonsWare
- 986,068
- 189
- 2,389
- 2,491
-
Is it possible to do face detection using cwac-cam2 library ? – Aman Srivastava Oct 14 '16 at 13:35
-
@AmanSrii: No. That library is a replacement for `ACTION_IMAGE_CAPTURE` and `ACTION_VIDEO_CAPTURE`, and neither of those support face detection. Use the camera APIs directly, skipping the library. – CommonsWare Oct 14 '16 at 13:36