Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/louislelay/singular-face-tracking-robot
Enabled recognition and tracking of a specific person's face amidst a group using a pan-tilt camera.
https://github.com/louislelay/singular-face-tracking-robot
arduino face-recognition face-tracking iac opencv python
Last synced: 6 days ago
JSON representation
Enabled recognition and tracking of a specific person's face amidst a group using a pan-tilt camera.
- Host: GitHub
- URL: https://github.com/louislelay/singular-face-tracking-robot
- Owner: louislelay
- Created: 2023-09-28T13:50:24.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-17T18:26:24.000Z (4 months ago)
- Last Synced: 2024-07-17T22:38:47.791Z (4 months ago)
- Topics: arduino, face-recognition, face-tracking, iac, opencv, python
- Language: C++
- Homepage:
- Size: 202 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SINGULAR FACE TRACKING ROBOT
## Overview
The Singular Face Tracking Robot project aimed to create a robot that identifies and follows a specific face it recognizes, regardless of the presence of other people around. This innovative project consists of two main components: a training module to train a model using a video of the recognized person, and a tracking module that utilizes the trained model to identify and follow the designated face with the help of two motors.## Requirements
- **Programming Language**: The project is developed in C++.
- **Libraries and Tools**:
- OpenCV 4: For image processing and face recognition functionalities.
- Arduino Software (IDE): To upload the necessary code to the Arduino Uno board.
## Installation and Setup
1. **OpenCV 4 Installation**: Ensure OpenCV 4 is installed on your system for the project to function correctly.
2. **Arduino Software Setup**:
- Download and install the Arduino IDE from the official website.
- Connect your Arduino Uno board to your computer and select the corresponding port in the Arduino IDE.
- Upload the "Servo_Parse_int.ino" program to your Arduino Uno board to control the motors.## Training the Model
1. **Preparing the Training Video**:
- In the "training" folder, place a 15-second video of the person to be recognized and name it "video.mp4".
- Modify line 27 of the "training.cpp" file to reflect the exact duration of the video.
2. **Generating the Model**:
- In the terminal, navigate to the "training" folder and execute the makefile to compile the program.
- Run the compiled program to generate a model named "modele.yml" and place this file in the "prog" directory.## Running the Tracking Module
1. **Setting Up the Camera and Arduino Port**:
- In the "prog.cpp" file, modify line 138 to set the correct USB port for the camera (with "0" typically representing the webcam).
- On line 86, specify the previously identified Arduino port.
2. **Launching the Program**:
- Compile and run the program by executing the makefile in the "prog" directory.
- Once started, the robot will begin to identify and follow the recognized face using the camera and motors.## Demonstration Video
To see the Singular Face Tracking Robot in action, check out our demonstration video on YouTube:[![Watch the video](https://img.youtube.com/vi/VA9WC24NqdE/0.jpg)](https://www.youtube.com/watch?v=VA9WC24NqdE)
## Authors
- Pierre&Louis