Skip to content

Latest commit

 

History

History
24 lines (13 loc) · 699 Bytes

README.md

File metadata and controls

24 lines (13 loc) · 699 Bytes

Face Up and Downward Counter Using Mediapipe by Google

This project uses the MediaPipe library to detect faces in a video stream and count the number of times each face moves up or down. It provides a real-time count of upward and downward movements for each detected face.

Prerequisites

  • Python 3.6 or higher
  • Install the required packages using pip install -r requirements.txt

Usage

  1. Clone the repository:

  2. Install dependencies:

  3. Run the application:

  4. Press q to exit the application.

Notes

  • Ensure your camera is properly connected and accessible.
  • Adjust the detection confidence and movement thresholds in the countblock.py file according to your needs.