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
Post a Comment