Skip to content

kudratbekkamoldinov/Counting_face_with_YOLO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Face Counting with YOLO

Project Overview

This project implements a robust face counting system using the YOLO (You Only Look Once) deep learning object detection architecture. The goal is to accurately count faces in various environments and conditions, potentially useful in scenarios like crowd monitoring, security surveillance, and demographic data collection.

Features

  • Real-time face detection and counting.
  • Utilizes the powerful YOLO algorithm for accurate detection.
  • Can process images and video streams.

Getting Started

Prerequisites

  • Python 3.6 or higher
  • Dependencies listed in requirements.txt

Installation

  1. Clone this repository:
    git clone https://github.com/kudratbekkamoldinov/Counting_face_with_YOLO.git
  2. Navigate to the cloned repository directory:
    cd Counting_face_with_YOLO
  3. Install the required dependencies:
    pip install -r requirements.txt

Usage

  1. To count faces in an image:
    python face_counting.py --image path_to_image
  2. To count faces in real-time using a webcam:
    python face_counting.py --webcam
  3. To count faces in a video file:
    python face_counting.py --video path_to_video

Models

The pretrained YOLO models (best.pt and last.pt) can be found in the runs/detect/train/weights directory. The best.pt model is used by default.

Dataset

The test.csv file contains the annotations used for testing the model.

Contributing

Contributions to this project are welcome! Please fork the repository and submit a pull request with your proposed changes.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgements

  • The YOLO creators for their groundbreaking work in real-time object detection.
  • Contributors and community for continuous improvements.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published