/finger_pos

Reads video frames from multiple cameras, detects blobs (painted finger tip) and stream their positions

Primary LanguageCMakeGNU General Public License v3.0GPL-3.0

finger_pos

This module is a C++ program that reads video frames from multiple cameras and detects blobs (groups of pixels with similar color or intensity) using OpenCV library functions. It uses trackbars to set thresholds for the HSV values and displays the frames with the detected blobs. It also records the video frames from the cameras and saves them as images. The program uses the LSL (Lab Streaming Layer) C library to stream the detected blob data.

Building source code

To build the project run:

cd finger_pos
mkdir build && cd build
cmake .. && make

Demonstration app

When the project have been built, you can run:

./finger_pos -h

to get the demonstration app usage.

Example

Open the main.cpp file to get an example how to use the lib.