nextcloud / android

📱 Nextcloud Android app
https://play.google.com/store/apps/details?id=com.nextcloud.client
GNU General Public License v2.0
4.08k stars 1.74k forks source link

Machine Learning Based Document Scanner Support #12681

Open alperozturk96 opened 4 months ago

alperozturk96 commented 4 months ago

In our latest iOS version of Files app we have machine learning based document scanner for text recognition. We can add same functionality with Google ML-Kit or android-document-scanner.

tobiasKaminsky commented 4 months ago

ML-Kit will only work for gplay flavor, not for fdroid. Android-document-scanner seems to be similar to what we have right now?

alperozturk96 commented 4 months ago

ML-Kit will only work for gplay flavor, not for fdroid. Android-document-scanner seems to be similar to what we have right now?

Not sure is Android-document-scanner different. But we don't have to kill support for gplay variant. We can basically check variant and use ML-Kit for gplay and use Android-document-scanner or Huawei MLKit for other variants.

Just because some devices don't have GMS services, we don't have to miss out on the powerful features that GMS services bring. On the other hand e.g., If 85 percent of android users have this GMS services and can benefit from this feature, why deprive them of it.

Note: We should indicate which variant is using which library.