Open rsaeks opened 7 years ago
The documentation you linked says:
The AVCaptureStillImageOutput class is deprecated in iOS 10.0 and does not support newer camera capture features such as RAW image output, Live Photos, or wide-gamut color. In iOS 10.0 and later, use the AVCapturePhotoOutput class instead. (The AVCaptureStillImageOutput class remains supported in macOS 10.12.)
It lists all of the camera features that AVCaptureStillImageOutput class doesn't support, but none of these features are really required to demonstrate what SwiftOCR can do. So as far as the usability of the framework and the sample project goes, I don't think it makes any difference :)
Working with the sample project for iOS there is the following message:
'AVCaptureStillImageOutput' was deprecated in iOS 10.0: Use AVCapturePhotoOutput instead The Apple reference info: https://developer.apple.com/reference/avfoundation/avcapturestillimageoutput
Code still works and functions as expected. Would love to see the sample code updated. I've tried a bit and haven't been able to figure out the changes when it comes to grabbing the image via the takePhotoButtonPressed function