react-native-document-scanner-plugin is maintained by WebsiteBeaver. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ![]() THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. React Native OCR enables text recognition on the go, whether from regular documents or MRZ data on international ID cards. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: It works with Expo, and you can avoid manually changing iOS and Android files by following these steps. Use this response type if you want document scan returned as inmage file paths. Google on-device MLKit text recognition for React Native Installation npm install react-native-mlkit-ocr Post-install Steps iOS Run cd ios & pod install Usage import MlkitOcr from 'react-native-mlkit-ocr' //. Use this response type if you want document scan returned as base64 images. The status comes back as cancel if the user closes out of the camera before completing the document scan. You also have the option of integrating mobile OCR. The status comes back as success if the document scan completes successfully. Integration of mobile scanning with Cordova and Xamarin plugins or via React Native is ensured as well. Support for a wide range of ID types including passports, identity cards, visas, driver’s licenses, US green cards and European health insurance cards makes Anyline a highly versatile solution. Scan identification documents in an instant. It can be the document scan image file paths or base64 images. OCR ID Scanning Scan IDs, passports, drivers licenses, and much more. The response comes back in this format on success. If false then the user can’t adjust the corners, and the user can only take 1 photo (maxNumDocuments can’t be more than 1 in this case).Īndroid only: The maximum number of photos an user can take (not counting photo retakes) They can then move the corners in case there needs to be an adjustment. 100 is the best quality.Īndroid only: If true then once the user takes a photo, they get to preview the automatically detected document corners. The quality of the cropped image from 0 - 100. The status lets you know if the document scan completes successfully, or if the user cancels before completing the document scan. This is an array with either file paths or base64 images for the document scan. Opens the camera, and starts the document scan Param ![]() ScanDocument ( options ?: ScanDocumentOptions | undefined ) => Promise
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |