Skip to content

PC-2208/Human-Scanner-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Human-Scanning-Application

Detect humans in real-time with lightning-fast YOLOv8 no touch, no tags, just AI vision. Perfect for smart surveillance, people counting, and intelligent automation at your fingertips.

What the Project Is?

The Human Scanner Application is a real-time human detection tool using AI and computer vision. It scans video input (from a webcam or camera) and identifies human presence using the YOLOv8 model, which is fast and accurate. This application is useful for security surveillance, crowd monitoring, people counting, and smart automation systems.

Key Features

🎥 Live Human Detection using YOLOv8 object detection.

⚡ Real-Time Processing on webcam feed.

📍 Draws Bounding Boxes around detected humans.

🧠 Optimized for Speed and Accuracy with modern YOLO architecture.

📁 Optional Logging of time and number of humans detected.

💻 Works offline on any system with a webcam and Python installed.

Installation & Required Libraries

  1. Install OpenCV (for video capture and image processing)

pip install opencv-python

  1. Install NumPy (for numerical operations with arrays and matrices)

pip install numpy

  1. Install Ultralytics (to use YOLOv8 for human detection)

pip install ultralytics

Once installed, you can test it with:

yolo help

  1. requirements.txt (Copy and save this in your project folder):

opencv-python

numpy

ultralytics

  1. How to Use It:

Once the file is saved, you (or anyone using your project) can install all the required libraries at once by running:

pip install -r requirements.txt

How It Works (Step-by-Step)

  1. The camera is turned on via cv2.VideoCapture(0).
  2. The YOLOv8 model loads and starts scanning each video frame.
  3. It detects humans in real-time and draws bounding boxes.
  4. The user sees the result live in a window.
  5. (Optional) Human count or detection logs can be saved for later use.

Example Output

On your webcam feed:

A bounding box appears on each detected person.

It may show:

Detected Humans: 3

Optional: Save detections to a CSV like:

Timestamp Count
2025-06-26 10:00AM 4
2025-06-26 10:05AM 2

Difference from Other Applications

Feature Our Application Others
Uses latest YOLOv8 model ✅ Yes ❌ Older versions
Real-time on webcam ✅ Yes ✅/❌ Sometimes
Lightweight & fast ✅ Yes ❌ Slower
Works offline ✅ Yes ❌ Often cloud-only
Easy to customize ✅ Yes ❌ Less flexible

Future Scope

  1. Add person tracking & movement heatmaps.
  2. Integrate with CCTV systems for real-time alerts.
  3. Show real-time person count dashboards.
  4. Gender, age, and posture detection using more models.
  5. Use for intruder detection in restricted areas.

Contributions

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Contact

Project Owner: Priyanshi Chaudhary

Email: [email protected]

About

Project Title- Human Scanning Application

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages