Peenoo / javacv

Automatically exported from code.google.com/p/javacv
GNU General Public License v2.0
0 stars 0 forks source link

How to save face picture only to image file? #194

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.use facepreview example
2.detect face with android device
3.How to save it to image file on sdcard?

What is the expected output? What do you see instead?
I want to save face only to JPG file on sdcard.

What version of the product are you using? On what operating system?

Android(2.3.3 - xperia x10) + JavaCV

Please provide any additional information below.

Sorry for my English :)

Original issue reported on code.google.com by mmnn...@gmail.com on 25 Apr 2012 at 9:04

GoogleCodeExporter commented 9 years ago
You could use cvSetImageROI() and cvSaveImage(), e.g.:
http://groups.google.com/group/javacv/tree/browse_frm/thread/dadf7364f09ccac7/a0
d514f519d1d996?rnum=1&_done=%2Fgroup%2Fjavacv%2Fbrowse_frm%2Fthread%2Fdadf7364f0
9ccac7%3F#doc_35326d5e757db1fc

Please post your questions on the mailing list next time if possible, thank you!

Original comment by samuel.a...@gmail.com on 26 Apr 2012 at 4:52