# YOLOv8-DeepSORT-PigCount-Tracking-main **Repository Path**: yancyxiaoxy/YOLOv8-DeepSORT-Pig-Tracking-main ## Basic Information - **Project Name**: YOLOv8-DeepSORT-PigCount-Tracking-main - **Description**: 点猪 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-05 - **Last Updated**: 2025-07-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ## Steps to run Code - Clone the repository ``` git clone https://gitee.com/yancyxiaoxy/YOLOv8-DeepSORT-Pig-Tracking-main.git ``` - Goto the cloned folder. ``` cd YOLOv8-DeepSORT-Object-Tracking ``` - Install the dependecies ``` pip install -e '.[dev]' ``` - Setting the Directory. ``` cd ultralytics_my/yolo/v8/detect ``` - Run the code with mentioned command below. - For yolov8 object detection + Tracking ``` python predict.py model=yolov8l.pt source="test3.mp4" show=True ``` - For yolov8 object detection + Tracking + Vehicle Counting - Download the updated predict.py file from the Google Drive and place it into ultralytics/yolo/v8/detect folder - Google Drive Link ``` https://drive.google.com/drive/folders/1awlzTGHBBAn_2pKCkLFADMd1EN_rJETW?usp=sharing ``` - For yolov8 object detection + Tracking + Vehicle Counting ``` python predict.py model=yolov8l.pt source="test3.mp4" ``` 注意:ultralytics版本是3.0.0