This project focuses on implementing YOLOv8, a state-of-the-art object detection model, to detect dustbins within images. The model is trained on a custom dataset created with the LabelImg tool, ensuring accurate labeling for precise detection.
- Python 3.x
- PyTorch
- OpenCV
- LabelImg
- YOLOv8 implementation (e.g., Darknet or a PyTorch implementation)
- Install Python 3.x.
- Install required libraries: PyTorch, OpenCV.
- Install LabelImg for dataset labeling.
- Obtain or implement YOLOv8 model for object detection.
- Collect a diverse dataset of images containing dustbins.
- Label each dustbin within the images using LabelImg, ensuring accurate bounding box annotations.
- Split the labeled dataset into training and validation sets.
- Train the YOLOv8 model using the labeled dataset, adjusting hyperparameters as necessary.
- Validate the trained model on the validation set to ensure accuracy and generalization.
- Utilize the trained YOLOv8 model to perform inference on new images.
- Process images through the model to detect dustbins, obtaining their coordinates.
- Provide the input image to the trained model.
- Receive the output with detected dustbin coordinates.
- YOLOv8: YOLO: Real-Time Object Detection
- LabelImg: LabelImg Tool