This project is a real-time face detection application developed using OpenCV and Qt. It captures video from the default camera and performs face detection. Displays the video with head counts for detected faces, date and time, and frame rate information. The application also allows users to take snapshots and save them to disk.
- Real-time face detection using a pre-trained Caffe deep learning model.
- Custom GUI for video playback control (play, pause, reset) and snapshot capture.
- Real-time video processing with overlayed date and time.
- Perform head count on all detected faces.
- Efficient frame rate display and video recording capabilities.
- Cross-platform support using CMake for compilation and deployment.
- Qt: For creating the GUI.
- OpenCV: For face detection and video processing.
- CMake: For building the project.
- Caffe Model: The pre-trained Caffe deep learning model for face detection.
deploy.prototxtres10_300x300_ssd_iter_140000.caffemodel
- Install Qt: Follow the Qt installation guide to set up Qt.
- Install OpenCV: You can download and install OpenCV from the official OpenCV website.
- Install CMake: Download and install CMake from the CMake website.
-
Clone the repository:
git clone https://github.com/nmhp16/evs cd evs -
Navigate to build:
cd build -
Generate the build files using CMake:
cmake ..
-
Build the project:
cmake --build . -
Run the application:
cd Debug EmbeddedVisionSystem.exeor Run (
build\Debug\EmbeddedVisionSystem.exe)
-
Start the Application: Run the executable built from the project.
-
Control the Video: Use the provided buttons to play, pause, or reset the video feed.
-
Take Snapshots: Click the "Snapshot" button to capture and save the current frame.
-
Exit: Click the "Exit" button to close the application.