GitHub रिपॉज़िटरीeliasteeny/flutter_document_scanner

flutter_document_scanner

React Native से Flutter में पोर्ट किया गया डॉक्यूमेंट स्कैनर प्लगइन

flutter_document_scanner प्रोजेक्ट कवर
स्टार
41
फ़ोर्क
27
अंतिम पुश (UTC)
29 जून 2023
प्रोजेक्ट स्थिति
सक्रिय

मूल README

यह अंग्रेज़ी मूल स्नैपशॉट है। नवीनतम सामग्री GitHub पर देखें।

document_scanner

A platform view plugin for Flutter apps that adds document scanning functionality on Android/IOS.

Warning

Document Scanner customization options aren't working for now

Setup

Handle camera access permission

IOS

Add a boolean property to the app's Info.plist file with the key io.flutter.embedded_views_preview and the value true to enable embedded views preview.

<key>io.flutter.embedded_views_preview</key>
<true/>

Add a String property to the app's Info.plist file with the key NSCameraUsageDescription and the value as the description for why your app needs camera access.

<key>NSCameraUsageDescription</key>
<string>Camera Permission Description</string>
Android

minSdkVersion should be at least 19

How to use ?

first add as a dependency in pubspec.yaml

import:

import 'package:document_scanner/document_scanner.dart';

then use it as a widget:

File scannedDocument;

DocumentScanner(
    onDocumentScanned: (ScannedImage scannedImage) {
        print("document : " + scannedImage.croppedImage);
        scannedDocument = scannedImage.getScannedDocumentAsFile();
    },
                          
)

Credits

This is a React Native package implemented on Flutter.

Reference to the React Native package : https://github.com/Michaelvilleneuve/react-native-document-scanner

Contributing

Step 1
  • Fork this project's repo : https://github.com/eliasteeny/flutter_document_scanner
Step 2
  • Create a new pull request.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

eliasteeny GitHub avatar
GitHub लेखक

eliasteeny ↗

भाषाएँJavaObjective-CDartRuby

इस रिपॉज़िटरी के पैकेज

उपयोग की गई निर्भरताएँ

निर्भरता सूची 3 आइटम

अपने प्रोजेक्ट के लिए रिपॉज़िटरी कैसे चुनें?

उपयोग के अनुसार छाँटें, गतिविधि की तुलना करें और अपनाने से पहले मूल प्रोजेक्ट की आवश्यकताएँ जाँचें।

  1. नाम, लेखक या विवरण से खोजें और तकनीकी विषय से परिणाम सीमित करें।
  2. स्टार, फ़ोर्क और हाल के पुश की तुलना करें। स्टार रुचि दर्शाते हैं, गुणवत्ता की गारंटी नहीं।
  3. उपयोग से पहले GitHub पर README, लाइसेंस और Issues जाँचें।

स्रोत और रखरखाव

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗