gualtierofrigerio / GFLiveScanner

Import this package to perform live scanning of barcodes, QR codes and OCR.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GFLiveScanner

Import this package to perform live scanning of barcodes, QR codes and OCR. GFLiveScannerViewController is the one you have to present in order to perform a live scan. You can configure the view controller to be full screen or to have a toolbar with a close button. Please refer to GFLiveScannerOptions for providing configuration to the view controller.

It is also possible to use the OCR on an existing image by calling GFOcrHelper instad of instantiating the GFLiveScannerViewController. GFOcrHelper uses Vision and can be configure for fast scanning (set by the view controller when using the live OCR). If you provide an image, I suggest setting fast scanning to false to improve accuracy.

See this project for examples on how to use the live scanner for barcodes and OCR and to provide images to GFOcrHelper to perfor OCR.

You can find my blog post about the live scanner and Vision at this link

About

Import this package to perform live scanning of barcodes, QR codes and OCR.

License:MIT License


Languages

Language:Swift 100.0%