sunderee / mlkit-document-scanner Goto Github PK
View Code? Open in Web Editor NEWFlutter plugin bringing MLKit Document Scanner to Flutter
Home Page: https://pub.dev/packages/mlkit_document_scanner
License: Apache License 2.0
Flutter plugin bringing MLKit Document Scanner to Flutter
Home Page: https://pub.dev/packages/mlkit_document_scanner
License: Apache License 2.0
Is your feature request related to a problem? Please describe.
Currently, the plugin lacks tests for both the Flutter and the native Android Kotlin implementation. This absence of tests can lead to uncaught bugs and regressions, impacting the reliability of the plugin.
Describe the solution you'd like
I would like to implement a comprehensive testing suite that covers:
Describe alternatives you've considered
N/A
Additional context
Adding tests will significantly increase the plugin's reliability and ease future development by catching issues early. It is a crucial step for maintaining high-quality software.
Is your feature request related to a problem? Please describe.
The plugin currently only supports exporting scanned documents in PDF format. Users and applications may require JPEG format for various reasons, including compatibility and file size considerations.
Describe the solution you'd like
Implement a feature to allow toggling between JPEG and PDF formats for the scan results. This could be an option during the initialization of the scanner or a setting in the scanning UI.
Describe alternatives you've considered
An alternative solution could be to provide the scanned document in both JPEG and PDF formats by default, allowing the caller to decide which one to use. However, this might lead to unnecessary processing and storage usage.
Additional context
Supporting both JPEG and PDF formats would enhance the plugin's flexibility and usability for different use cases and user preferences.
Feature Request: Change License from AGPL to Apache 2.0
Hi,
I'd like to request a change in the license of this repository from AGPL to Apache License 2.0. Here are my reasons:
I believe this change would be beneficial for the community and the project as a whole. Thank you for considering this request.
Describe the bug
When a user does not select a document, the plugin fails to notify the caller of this scenario, leading to a potential state of confusion for the user and the application.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The plugin should provide a clear mechanism (such as a callback or an error) to indicate that no document was selected. This could be used by the application to notify users or handle the scenario appropriately.
Screenshots
N/A
Desktop (please complete the following information):
N/A
Smartphone (please complete the following information):
Additional context
This issue is crucial for improving the plugin's usability and ensuring that applications using it can handle all user interactions gracefully.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.