hungrxyz / RealtimeOCR

Realtime OCR with Tesseract and OpenCV in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RealtimeOCR

Realtime OCR with Tesseract and OpenCV, written in Swift.

Idea behind this project is to recreate the iTunes iOS App's gift card code scanner.

iOS 9 version is hacky!

Don't convert to latest Swift version if it asks (It is already converted, don't know why it's comming up).

Recommended to Clean (Cmd + Shift + K) the project before building.

Demo:

Live preview pointed at the rectangle with text.

Cropped rectangle returned from OpenCV

Xcode output after applying OCR on the cropped image

This is my first project with OpenCV and Tesseract so any improvements are welcome.

About

Realtime OCR with Tesseract and OpenCV in Swift


Languages

Language:C++ 83.3%Language:C 10.9%Language:Objective-C 5.0%Language:Swift 0.5%Language:Objective-C++ 0.3%