This project implements a pedestrian detection system using the YOLO model and OpenCV. The model is capable of detecting people in real-time using a webcam feed.
- Python 3.6+
- OpenCV
- NumPy
- Torch
- Clone the repository:
git clone https://github.com/waijian1/PedestrianDetection.git
- Install the required packages:
pip install -r requirements.txt
-
Run the script:
python pedestriandetection.py
-
The program will use your webcam to detect pedestrians in real-time.
pedestriandetection.ipynb
: The Jupyter notebook containing the code.requirements.txt
: List of required Python packages..gitignore
: Specifies files to ignore in the repository.
This project is licensed under the MIT License.