Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.57 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.57 KB

The Logo Recognizer

The Logo Recognizer is simple program that by using image processing algorithms localizes and recognizes sample logo.

In this project I use logo of some big supermarket chain that has its shops in many of European countries.

Purpose

This implementation is project for my Digital Image Processing class and it is for better understanding image procesing and recognition.

Adaptation to other logos

To use this program to recognize other logos you should change two things:

  1. Change colors range in tresholding function
  2. Change recognition function (all parameters NM1, NM2, etc.) to regonize shapes from your logo

You can check sample of parameters in Kaufland logo parameters file.

Possibility of improvement

  1. You should add operation of morphological closing after tresholding to fill small holes in shapes that are some artifacts.
  2. Add a checking the position of shapes relative to each other to better logo regognition.

Platforms

This parser has been used only on Linux, but it probably can works on any other platform as well.

Build

git clone https://github.com/BartekkPL/logo-recognizer.git
cd logo-recognizer/
mkdir build
cd build/
cmake ..
make

And after these steps you have builded executable ready to use.

You can find it at logo-recognizer/build/logo-recognizer.

Usage

logo-recognizer <image_path>

License

LOGO-RECOGNIZER is released under Apache License.