Open bensek opened 3 months ago
CAPTURE_MODE_MANUAL is not a valid input for setScannerMode.
For scanner mode, valid input are documented here: GmsDocumentScannerOptions.SCANNER_MODE_FULL, GmsDocumentScannerOptions.SCANNER_MODE_BASE_WITH_FILTER, GmsDocumentScannerOptions.SCANNER_MODE_BASE
For the request of disabling Auto-capture, I will pass it to our team.
Is it also possible to disable the auto cropping when I take a photo in manual mode? We would like to have a use case that does not require document scanning, but can still take pictures and use the gallery and use the MLkIt filters. @mebjas
Thanks for the request. Currently there is no client API to configure this. Manual vs Auto only control automatic capture. Please file another FR for this and we'd triage it separately based on priority of other items team is working on.
why this library is not an open source?!
How can I switch to Manual Scanning mode?
Additionally, I would like to disable the auto-rotation feature. I reviewed the documentation, but I couldn't find an option for this. Could you consider adding this feature in future development?
Additionally, I would like to disable the auto-rotation feature. I reviewed the documentation, but I couldn't find an option for this. Could you consider adding this feature in future development?
Currently this is not supported as an API. We'll add this to our feature request backlog!
I want when I launch the document scanner to go directly into the Manual Mode and if possible hide the Auto Capture button. I tried setting the mode to CAPTURE_MODE_MANUAL, but it is not working.
Below is my code to reproduce the bug
Expected behavior The Auto Capture button should be hidden or at least not the default mode but the manual mode.
SDK Info:
Smartphone:
Development Environment: Android Studio Jellyfish