yolov8-sheep-detection-counting
YOLOv8 Aerial Sheep Detection and Counting. Simulated on Gazebo.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.5%) to scientific vocabulary
Keywords
Repository
YOLOv8 Aerial Sheep Detection and Counting. Simulated on Gazebo.
Basic Info
Statistics
- Stars: 19
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
YOLOv8 Aerial Sheep Detection and Counting
YOLOv8 Aerial Sheep Detection and Counting. Simulated on Gazebo.
Introduction
This repository contains a Sheep Detector and Counter trained by YOLOv8 algorithm with Sheep Dataset from Roboflow.
Train Results
Train results on YOLOv8n. Weights are provided in resources/weights direcotry.


Installation
Create a virtual environment
```commandline
create
python -m venv yolov8-sheep
activate
source yolov8-sheep/bin/activate ```
Clone repository
commandline
git clone https://github.com/monemati/YOLOv8-Sheep-Detection-Counting.git
cd YOLOv8-Sheep-Detection-Counting
Install packages
commandline
pip install -e '.[dev]'
Run
```commandline
On image
python count.py
On Video
python track.py ``` - Change file_path to your desired files. Sample files are provided in resources/images and resources/videos direcotries.
Simulate in Gazebo
- You need to follow this tutorial to setup test environment.
- You can use Models and Worlds provided in resources/models and resources/worlds direcotries.
- Open a terminal and use the command below to launch your world (this will launch gazebo):
roslaunch gazebo_ros agriculture.launch - Open a new terminal and run a UAV:
cd ~/ardupilot/Tools/autotest && ./sim_vehicle.py -v ArduCopter -f gazebo-iris -I0 - After seeing "APM: EKF2 IMU0 is using GPS" message in console, you can use the commands below to takeoff:
mode guided arm throttle takeoff 40 - Now in a new terminal use the command below:
python sheep.py - You can watch the demo from this file
Results


Acknowledgement
- https://github.com/ultralytics/ultralytics
- https://www.ros.org/
- https://gazebosim.org/
- https://github.com/ArduPilot/ardupilot
Owner
- Name: Mostafa Nemati
- Login: monemati
- Kind: user
- Repositories: 1
- Profile: https://github.com/monemati
GitHub Events
Total
- Watch event: 6
- Fork event: 1
Last Year
- Watch event: 6
- Fork event: 1