Recognition library of simple geometric images (gestures) and graphical interface to interact with it.
Project divided in two parts:
- Graphical user interface
- Recognition library (librecog)
Depends only from Qt4 and uses c++98 standard
Main window consist of three parts:
- Area to draw images - drawing starts with any mouse button pressed. Recognition starts immediately after releasing button.
- Hough transformation matrix of the processed image
- History of previously recognized images
The recognizable graphic primitive is drawn with the red color on the same area
Supported primitives:
- Line
- Rectangle
- Ellipse (with rotation)
Used algorithm and references can be found here.
Tested under Debian 8 Jessie with Qt 4.8.6
and gcc 4.9.2
mkdir build && cd build
qmake ..
make
Then launch executable in gui/gesture-recognizer
To build doxygen documentation do in project source root:
doxygen
Generated files will be placed in ./doc/doxygen
All work is licensed under the MIT license