yolov8-sheep-detection-counting

YOLOv8 Aerial Sheep Detection and Counting. Simulated on Gazebo.

https://github.com/monemati/yolov8-sheep-detection-counting

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

aerial-image-detection aerial-robotics ardupilot bytetrack gazebo gazebo-simulator object-counter object-counting object-detection ros sheep-counting sheep-detector simulation yolov8
Last synced: 8 months ago · JSON representation

Repository

YOLOv8 Aerial Sheep Detection and Counting. Simulated on Gazebo.

Basic Info
  • Host: GitHub
  • Owner: monemati
  • License: agpl-3.0
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 146 MB
Statistics
  • Stars: 19
  • Watchers: 1
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
aerial-image-detection aerial-robotics ardupilot bytetrack gazebo gazebo-simulator object-counter object-counting object-detection ros sheep-counting sheep-detector simulation yolov8
Created almost 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme Contributing License Citation

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.

alt text

alt text

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

alt text

alt text

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

GitHub Events

Total
  • Watch event: 6
  • Fork event: 1
Last Year
  • Watch event: 6
  • Fork event: 1