问题
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