iyotetsuya / RectangleDetection

Using OpenCV 2411 and RxJava implement a rectangle detection Android App
MIT License
38 stars 13 forks source link

to snap a picture... #6

Closed pulkitbjri closed 7 years ago

pulkitbjri commented 7 years ago

how to snap a picture when it detects rectrangle..

iyotetsuya commented 7 years ago

This link may can give you some idea to do that. http://stackoverflow.com/questions/2661536/how-to-programmatically-take-a-screenshot-in-android

pulkitbjri commented 7 years ago

actually i don't wanna take screenshot!!! when we detect rectangle snap the picture of whole page.....

iyotetsuya commented 7 years ago

You have to implement takePicture , and draw rectangle into bitmap.

iyotetsuya commented 7 years ago

Closing this one, feel free to open a new issue if you have further questions.