How to switch mode video converter photo In PBJVision
now
PBJVision *vision = [PBJVision sharedInstance];
vision.delegate = self;
[vision setCameraMode:PBJCameraModePhoto];
[vision setCameraOrientation:PBJCameraOrientationPortrait];
[vision setFocusMode:PBJFocusModeAutoFocus];
[vision setOutputFormat:PBJOutputFormatPreset];
[[PBJVision sharedInstance] capturePhoto];
You can change camera mode as adding just one line. The answer is already exist in your code. That is.
And use this to recording video.
It might be better if you know additionally these.
Changing camera mode to another seems like need a bit time.
When I had used like this, error occurred. (In my case, change to photo mode from video mode)
The cause is that session setting for camera mode changing is not end completely yet.
So be careful to write sequentially changing camera mode and calling capture. :)