https://github.com/deluan/lookup
:mag: Pure Go implementation of fast image search and simple OCR, focused on reading info from screenshots
https://github.com/deluan/lookup
image-matching image-recognition ocr screen-reader screen-scraping
Last synced: 11 months ago
JSON representation
:mag: Pure Go implementation of fast image search and simple OCR, focused on reading info from screenshots
- Host: GitHub
- URL: https://github.com/deluan/lookup
- Owner: deluan
- License: mit
- Created: 2019-09-18T03:51:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-29T16:41:12.000Z (over 1 year ago)
- Last Synced: 2025-03-30T02:05:48.295Z (12 months ago)
- Topics: image-matching, image-recognition, ocr, screen-reader, screen-scraping
- Language: Go
- Homepage: https://github.com/deluan/lookup#lookup
- Size: 637 KB
- Stars: 95
- Watchers: 5
- Forks: 15
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lookup
[](https://github.com/deluan/lookup/releases)
[](https://godoc.org/github.com/deluan/lookup)
[](https://github.com/deluan/lookup/actions)
[](https://goreportcard.com/report/github.com/deluan/lookup)
[](https://codeclimate.com/github/deluan/lookup/maintainability)
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](https://gitlab.com/axet/lookup)
to GoLang. Details of NCC (Normalized Cross Correlation), used by this library, can be found in the
original library's ['docs'](https://gitlab.com/axet/lookup/tree/master/docs) folder (a lot of math).
### Usage
Add this library to your project with:
```shell script
go get github.com/deluan/lookup
```
To learn how to use it, take a look at the example files for [Lookup](examples_lookup_test.go) and
[OCR](examples_ocr_test.go). All images used in the examples are available in the [testdata](testdata) folder.
For more details check the full [documentation](https://godoc.org/github.com/deluan/lookup).
### To Do:
- ~~Add basic LookUp function~~
- ~~Implement OCR~~
- ~~Optimize for speed~~
- ~~Clean-up API~~
- ~~Better docs~~
- Implement Scaling