Cross-platform document scanner functionality in Xamarin Forms App

£可爱£侵袭症+ 提交于 2021-01-28 12:22:15

问题


As part of an Cross-platform App (Xamarin Forms) I'm developing I want a functionality that allows the user to scan a document.

Are for Xamarin Forms App components (libraries) available that can be used?

I know, Scanbot Scanner SDK can be used for this, but that is quite expensive. Are there no alternatives available?

What's the best way to implement such a functionality with a limited amount of invested resourcers?


回答1:


I found this FREE solution: Imaging-Library

It takes a photo file, finds the "square" (document) and crops out anything outside it.

You can use MediaPlugin to capture a photo or use an existing one that's on the phone.

I've tested and it works, but I think my photo quality was too high, as rendering took forever. You can tailor it to your needs.



来源:https://stackoverflow.com/questions/56950144/cross-platform-document-scanner-functionality-in-xamarin-forms-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!