A document scanner plugin with automatic cropping function and option to pick image from gallery or camera
Handle camera access permission
Add String properties to the app's Info.plist file with the keys NSCameraUsageDescription and NSPhotoLibraryUsageDescription and the values as the description for why your app needs camera and gallery access.
<key>NSCameraUsageDescription</key> <string>Camera Permission Description</string> <key>NSPhotoLibraryUsageDescription</key> <string>Gallery Permission Description</string>
minSdkVersion should be at least 21
How to use ?
final imagesPath = await CuervoDocumentScanner.getPictures(Source.CAMERA)
The path's to the cropped Images will be returned as
List<String>. if you want to get the images from gallery, just change the source to
- Fork this project's repo :
- Create a new pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details