๐Ÿ“ฆ deluan / lookup

:mag: Pure Go implementation of fast image search and simple OCR, focused on reading info from screenshots

โ˜… 103 stars โ‘‚ 17 forks ๐Ÿ‘ 103 watching โš–๏ธ MIT License
image-matchingimage-recognitionocrscreen-readerscreen-scraping
๐Ÿ“ฅ Clone https://github.com/deluan/lookup.git
HTTPS git clone https://github.com/deluan/lookup.git
SSH git clone git@github.com:deluan/lookup.git
CLI gh repo clone deluan/lookup
Deluan Deluan Better "usage" section ecea98e 6 years ago ๐Ÿ“ History
๐Ÿ“‚ ecea98e48cf387f793dc62b081ffad91ae4fe18c View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ testdata
๐Ÿ“„ .gitignore
๐Ÿ“„ doc.go
๐Ÿ“„ fonts_test.go
๐Ÿ“„ fonts.go
๐Ÿ“„ go.mod
๐Ÿ“„ go.sum
๐Ÿ“„ helpers.go
๐Ÿ“„ image_binary.go
๐Ÿ“„ integral_image.go
๐Ÿ“„ LICENSE
๐Ÿ“„ lookup_test.go
๐Ÿ“„ lookup.go
๐Ÿ“„ Makefile
๐Ÿ“„ ncc_test.go
๐Ÿ“„ ncc.go
๐Ÿ“„ ocr_test.go
๐Ÿ“„ ocr.go
๐Ÿ“„ README.md
๐Ÿ“„ README.md

LookUp

GitHub tag (latest SemVer) Documentation Build Status Go Report Card Coverage 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 this Java Lookup library to GoLang. Details on 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: ``shell script go get github.com/deluan/lookup ``

To learn how to use it, take a look at the examples 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