SkillAgentSearch skills...

RealtimeOCR

Realtime OCR with Tesseract and OpenCV in Swift

Install / Use

/learn @markotect/RealtimeOCR
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

View on GitHub
GitHub Stars108
CategoryDevelopment
Updated3y ago
Forks22

Languages

C++

Security Score

65/100

Audited on Dec 22, 2022

No findings