Question

I need a library that can detect objects in an image (uses edge detection). This is NOT related to captchas. I am working on an MTGO bot that uses OCR and that works in any screen resolution. In order for it to port to any screen resolution my idea is to scan down narrow range on a results page (the cards that a player has can be listed in rows of text) and to find each object in that range. Then to take the lowest and highest pixel coordinates of each object to find where the row starts and ends (on the y axis) so that I can use OCR to read each line.

Was it helpful?

Solution

If you don't know of the OpenCV collection of examples, then they could help you in the right direction... there's also Camellia which doesn't use "edge detection" per-se but could get the results you need with a bit of work.

OTHER TIPS

Its not cheap, but I've used the Intel Processing Primitives, and was very impressed with their performance. They work on Intel and AMD processors, as well as Windows and Linux

Maybe this will be useful:

The Simd Library is a free open source image processing library, designed for C and C++ programmers. It provides many useful high performance algorithms for image processing such as: pixel format conversion, image scaling and filtration, extraction of statistic information from images, motion detection. The algorithms are optimized with using of different SIMD CPU extensions. In particular the library supports following CPU extensions: SSE, SSE2, SSSE3, SSE4.1, SSE4.2, AVX and AVX2 for x86/x64, VMX(Altivec) and VSX(Power7) for PowerPC, NEON for ARM. The Simd Library has C API and also contains useful C++ classes and functions to facilitate access to C API. The library supports dynamic and static linking, 32-bit and 64-bit Windows and Linux, MSVS and G++ compilers, MSVS project and CMake build systems.

Have at look at the Lead tools imaging SDKs? Not free, but very comprehensive.

tesseract-ocr ? (Apache License 2.0)

Framewave based on AMD Performance Library which provides features for image processing. Check also related Fast Cross-Platform C/C++ Image Processing Libraries

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top