DriveGlyph is a deep learning-based custom object detector project that utilizes YOLOv8, PyTorch, and Python to detect objects in real-time as well as in imported images and videos. This README file provides an overview of the project, instructions to set it up, and demonstrates how to run the object detection script without using Anaconda Prompt. Additionally, example videos and photos showcasing the process and predicted objects are included.
DriveGlyph is an object detection project based on YOLOv8, a state-of-the-art real-time object detection model. The project aims to detect objects, specifically cats in this case, using a custom-trained dataset comprising approximately 200 images.
Key Features:
- Real-time object detection
- Object detection in imported images and videos
- Displays object class, bounding box, and probability
Please note that this is the author's first deep learning project and is solely trained on a personal machine GPU.
To run the DriveGlyph object detector project, please follow the installation instructions below:
-
Clone the repository:
git clone https://github.com/ChatDil0/DriveGlyph.git
Alternatively, you can download the repository as a ZIP file and extract it.
-
Install the required dependencies:
- Anaconda
- Python
You can install Anaconda by following the instructions on the Anaconda website.
-
Download the trained data: The trained data used for DriveGlyph can be downloaded from link-to-trained-data.
-
Place the downloaded trained data in the appropriate directory within the project.
To run the DriveGlyph object detector project, please follow the steps below:
-
Open the command prompt or terminal.
-
Navigate to the project directory:
cd /path/to/DriveGlyph
-
Run the object detection script:
python object_detection.py
This script will perform object detection on the default video file specified in the script. You can modify the script to use your desired video or image file for detection.
-
Observe the detected objects: The script will display the object class, bounding box coordinates, and probability of detection.
To provide a visual representation of the DriveGlyph object detection process and predicted objects, please refer to the following examples:
Labeling & Trainig
Imported file object detecting
Realtime object detecting
These examples demonstrate the real-time object detection capabilities of DriveGlyph and showcase the accuracy of the model.
The DriveGlyph project is open-source and distributed under the MIT License. Feel free to use, modify, and distribute the code according to the terms of the license.
DriveGlyph is built upon the YOLOv8 implementation by Joseph Redmon and the PyTorch framework. We acknowledge the contributions of the open-source community in enabling the development of this project.
Contributions to the DriveGlyph project are welcome! If you have any questions or need further assistance, please contact me at [email protected].
Thank you for using DriveGlyph!