Image Processing Library for C ++

I need a library that can detect objects in an image (uses edge detection). This is NOT related to captcha. I am working on the MTGO bot, which uses OCR and works in any screen resolution. In order for it to transmit any screen resolution, my idea is to scan a narrow range on the results page (cards that the player can indicate in lines of text) and find every object in this range. Then, to take the lowest and highest pixel coordinates of each object, to find where the line starts and ends (along the y axis) so that I can use OCR to read each line.

+3
c ++ image-processing ocr
source share
6 answers

If you don’t know the OpenCV collection of examples, they can help you in the right direction ... there is also Camellia , which does not use “edge detection” for everyone, but can get the desired results with a little work.

+4
source share

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

+2
source share

Perhaps this will be useful:

Simd Library is a free open source image processing library for C and C ++ programmers. It provides many useful high-performance algorithms for image processing, such as: pixel format conversion, image scaling and filtering, extracting statistical information from images, motion detection. Algorithms are optimized using various SIMD CPU extensions. In particular, the library supports the following processor 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 a C API and also contains useful C ++ classes and functions to facilitate access to the C API. The library supports dynamic and static links, 32-bit and 64-bit Windows and Linux compilers, MSVS and g ++, MSVS-project and CMake build systems.

+1
source share

Have a look at the Leading Tools for Creating SDK Images ? Not free, but very comprehensive.

0
source share

tesseract-ocr ? (Apache License 2.0)

0
source share

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

0
source share

All Articles