Skip to content

ZakriaComputerEngineer/Tracking-Space-Debris-using-YOLOv8

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tracking-Space-Debris-using-YOLOv8

Project Description: Tracking Space Debris and Other Objects Through Camera

Overview This project involves tracking space debris and other objects through a camera using a custom-trained YOLOv8 model. The goal was to detect and track multiple classes of objects in images & video, ensuring high accuracy and robustness of the model.

img091706_jpg rf 749ed824458ea96a34234383f52e5faf

Dataset Preparation

Initial Dataset: Utilized an existing dataset but chose not to use its labels due to their subpar quality. Link- https://drive.google.com/drive/folders/1cYUHXstqUCjXKG7hKuKqtUsWeQQ_3cYz?usp=sharing

Manual Labeling: Manually boxed and labeled objects in the dataset. Selected 120 images for each of the 11 classes, resulting in a total of 1,320 manually labeled images. image

Data Augmentation: Applied horizontal and vertical flips, and resized all images to 640x640 pixels, expanding the dataset to 2467 images.

Data Split: Divided the dataset into training (70%), validation (20%), and test (10%) sets using Roboflow, ensuring a comprehensive and balanced dataset for model training. image

image

Dataset foramt: Organiszing the images and labels as per YOLOv8 provided format for training and generating the yaml file. image image image

Final Dataset: 2467 fined labelled, resized, randomly flipped dataset on yolov8 format. Link- https://www.kaggle.com/datasets/muhammadzakria2001/space-debris-detection-dataset-for-yolov8

Environment Setup YOLOv8 Loading: Leveraged the Ultralytics YOLOv8 library for object detection. image

Kaggle Environment: Utilized Kaggle’s resources for model training, including the latest CUDA, two Tesla T4 GPUs, an Intel Xeon 4-core CPU, 30 GB RAM, and 100 GB disk space.

Model Architecture image

Model Training

Configuration: Epochs: 100 Image Size: 640x640 pixels RGB Optimizer: Adam Training Duration: Completed the custom training within approximately one hour. image image image

Model Testing Performance: Evaluated the model using the test set, achieving highly accurate and satisfactory results. Confusion matrix: image Training statistics: image image Plots: Labels image Prediction image

Conclusion This project demonstrates a comprehensive approach to preparing a high-quality dataset, setting up an efficient training environment, and successfully training and testing a YOLOv8 model for tracking space debris and other objects with impressive accuracy.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published