Simple car detection algorithm based on Haar-cascade
Implementing a Python lightweight car detector using Haar-cascade features classifier.
This script can process a video file or an image.
Example, from J Utah Youtube channel (https://www.youtube.com/watch?v=qfRlmwjD2Fs) :
Required libraries :
Required file :
cars.xml from https://github.com/andrewssobral/vehicle_detection_haarcascades
Clone the repository,
git clone https://github.com/raymas/CarDetector.git
install dependencies :
Compile OpenCV from source or simply put the precompiled cv2.pyd from https://opencv.org/releases.html in Python2.7/
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
See also the list of contributors who participated in this project.
This project is licensed under the GNU 3.0 License - see the LICENSE.md file for details