googlesamples / mlkit

A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS
Apache License 2.0
3.58k stars 2.93k forks source link

[Feature request] Use Document Scanner as Photo Picker #860

Open bensek opened 3 months ago

bensek commented 3 months ago

What's your feature request? Please describe. Google's photopicker does not have a camera option. So we would like to use MLKit Document Scanner as the photopicker with camera and filters. But this means that the document scanning functionality will be completely disabled.

Mobile environment Android, IOS

Additional context We are migrating our app from using ScanBot SDK to use Google MLKit document scanner. However, some parts still need ScanBot for photopicker from gallery and camera. All the parts that require scanning we are now using MLKit, but for photopicking, MLKit does not offer this feature hence this might stop us from using MLKit altogether since ScanBot offers these features.

spanky411 commented 2 months ago

I would like to see this feature too.

mebjas commented 4 weeks ago

Thanks for the FR. I didn't fully get the request here.

Google's photopicker does not have a camera option. So we would like to use MLKit Document Scanner as the photopicker with camera and filters. But this means that the document scanning functionality will be completely disabled.

Isn't this already possible if you run the document scanner in SCANNER_MODE_BASE mode? What is the gap?