jachzen / cunning_document_scanner

MIT License
79 stars 83 forks source link

Scanning documents from gallery #36

Closed LynxLynxx closed 8 months ago

LynxLynxx commented 12 months ago

Hi, do you plan to scan documents comming from gallery?

vicajilau commented 12 months ago

We are currently working on adding support for PDF generation and page number limitation. Adding the gallery is something that is on our roadmap but will take some time to implement. I suggest you keep an eye on cunning_document_scanner in the future.

CodeRedDev commented 8 months ago

With MLKit on Android adding support for gallery would be pretty easy by setting this to true or to a parameter

https://github.com/jachzen/cunning_document_scanner/blob/6be0bb6dd2865d8aec1ecd3ee8842d97eb659f54/android/src/main/kotlin/biz/cunning/cunning_document_scanner/CunningDocumentScannerPlugin.kt#L110

Unfortunately the iOS implementation isn't very customizable right now.

vicajilau commented 8 months ago

A Pull Request has been added following this implementation @CodeRedDev

jachzen commented 8 months ago

Added in 1.2.1. For iOS we need to consider to go away from VNDocumentCameraViewController

loveoverflowdev commented 3 months ago

Added in 1.2.1. For iOS we need to consider to go away from VNDocumentCameraViewController

Maybe we don't need. Please follow some method like that, thank you:

https://stackoverflow.com/questions/62373844/using-vision-to-scan-images-from-photo-library