Skip to content

Haar cascade for detecting vehicles and pedestrians in videos using Python

License

Notifications You must be signed in to change notification settings

KonstantinosAng/haar_vehicle_and_pedestrian_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

haar_vehicle_and_pedestrian_detection

Haar cascade for detecting vehicles and pedestrians in videos using Python and image processing to detect line lanes.

Installation

Clone the repository. Install all requirements using the following line.

pip install -r requirements.txt

Usage

Use the classifier by running the scr/main.py file using the default videos pedestrians and cars detection or lane detection. You can also specify the path to a specific video using the following line.

python src/main.py -v <path to video file>

Or you can import the classifier in your code by using:

from src.main import Classifier

classifier = Classifier(path_to_video_file)
classifier.detect()

Examples

About

Haar cascade for detecting vehicles and pedestrians in videos using Python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages