Skip to content

Latest commit

 

History

45 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages