MCPcopy Index your code
hub / github.com/deluan/lookup

github.com/deluan/lookup @v0.0.8

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.0.8 ↗ · + Follow
79 symbols 222 edges 18 files 22 documented · 28%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Lookup

GitHub tag (latest SemVer) Documentation Build Status Go Report Card 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 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: shell script 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

Core symbols most depended-on inside this repo

Shape

Function 46
Method 22
Struct 10
TypeAlias 1

Languages

Go100%

Modules by API surface

fonts.go12 symbols
ocr.go9 symbols
image_binary.go9 symbols
ocr_parallel_find.go7 symbols
ncc.go6 symbols
integral_image.go6 symbols
lookup.go5 symbols
helpers.go5 symbols
test_helpers_test.go3 symbols
ocr_test.go3 symbols
ncc_test.go3 symbols
testdata/resize_test.go2 symbols

For agents

$ claude mcp add lookup \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page