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 -

c++11 - Intel compiler and "cannot have an in-class initializer" when using constexpr -

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -