"add image capture button in opencv camera "
Hai, I am developing an image capturing application using opencv 2.4.2 in Android. So I downloaded the opencv 2.4.2 sdk and used the sample "OpenCV Sample - face-detection". The camera is opened and face detected well in my emulator. Now I want to add a button to capture image frame. I could't add button using "addContentView". Is it possible? Can you explian?
Thanks, Karthi
Such sample will be included into one of future versions of OpenCV. In the meantime you can check this application: http://code.google.com/p/android-opencv-panorama/ . Here it is on Google Play market: https://play.google.com/store/apps/details?id=net.pandorica.opencv.pano&feature=search_result#?t=W251bGwsMSwxLDEsIm5ldC5wYW5kb3JpY2Eub3BlbmN2LnBhbm8iXQ.. . I'm not sure that this is the best example, but it allow you to take images from your camera.