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

rest - Spring boot: Request method 'PUT' not supported -

php - Magento - Deleted Base url key -

symfony - imagine_filter() not generating the correct url in LiipImagineBundle -