This project utilizes the YOLOv5 deep learning model to perform real-time object detection from images or video streams. In addition, it provides a Bird's Eye View (BEV) visualization, which offers a top-down perspective of the detected objects.
- Real-time object detection using the YOLOv5 model.
- Object tracking to maintain continuity and trajectory of detected objects.
- Bird's Eye View (BEV) visualization of the detected objects in a simulated environment.
- Customizable confidence threshold and class filtering.
- Simulated environment provides an intuitive top-down view of object positions and movements.
- Supports both image and video input for object detection and tracking.
- Easy integration with pre-trained YOLOv5 models.
- Provides bounding box coordinates, class labels, and tracking IDs for detected objects.
- Python 3.x
- OpenCV
- PyTorch
- NumPy
- Clone this repository.
- Install the required dependencies using
pip install -r requirements.txt
.
- Download pre-trained YOLOv5 weights or train your own model.
- Provide the path to the YOLOv5 weights in the code.
- Run the script with the input image or video file as an argument.
- View the object detection results and Bird's Eye View visualization.
For more detailed usage instructions and options, refer to the project documentation.
pip3 install torch opencv numpy
python3 yoloV5_sim.py
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE
file for details.
- YOLOv5: https://github.com/ultralytics/yolov5
- OpenCV: https://opencv.org/