lookup
lookup copied to clipboard
:mag: Pure Go implementation of fast image search and simple OCR, focused on reading info from screenshots
Lookup
It is a nice, simple and fast library which helps you to lookup objects on a screen. It also includes OCR functionality. Using Lookup you can do OCR tricks like recognizing any information in your Robot application. Which can be useful for debugging or automating things.
This library is a port of the Java Lookup library to GoLang. Details of NCC (Normalized Cross Correlation), used by this library, can be found in the original library's 'docs' folder (a lot of math).
Usage
Add this library to your project with:
go get github.com/deluan/lookup
To learn how to use it, take a look at the example files for Lookup and OCR. All images used in the examples are available in the testdata folder. For more details check the full documentation.
To Do:
- ~~Add basic LookUp function~~
- ~~Implement OCR~~
- ~~Optimize for speed~~
- ~~Clean-up API~~
- ~~Better docs~~
- Implement Scaling