ios - Take a picture with CvPhotoCamera -


i use cvphotocamera take photo iphone camera.

i added button , when tap on button call method:

[_photocamera takepicture]; 

i implemented delegate method:

- (void)photocamera:(cvphotocamera*)photocamera capturedimage:(uiimage *)image 

but when delegate method called, image has small size: 480x320

why? possible take photo high definitions (as when use uiimagepickercontroller)

you need set defaultavcapturesessionpreset property on cvphotocamera avcapturesessionpresetphoto full resolution.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -