简体   繁体   中英

Android opencv photo capture

I am new to the android. Createing image capturing application using opencv in Android. So I downloaded the opencv 2.4.2 sdk and used the sample "OpenCV Sample - face-detection" . Now the camera open and detect well. Now I am going implement photo capturing with this existing face detection. How can I add capture button on opencv camera. Can anyone help me to do this.

Thanks, Karthi

OpenCV native camera (aka VideoCapture class) doesn't support photo taking mode. Look at the Tutorial 1 sample that uses Android Java camera and read about it at http://developer.android.com/guide/topics/media/camera.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM