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 ?
That is not supported by the library. Use the camera APIs directly, skipping the library.