Giter Club home page Giter Club logo

yolov8_ros's Introduction

Yolov8_ros

For simplified Chinese version: 简体中文版

This package provides a ROS wrapper for PyTorch-YOLOv8 based on PyTorch-YOLOv8. The package has been tested with Ubuntu 18.04 and Ubuntu 20.04.

V1.0.1: Add device options(cpu or gpu).

Authors: Zhitao Zheng ([email protected])

develop environment:

  • Ubuntu 18.04 / 20.04
  • ROS Melodic / Noetic
  • Python>=3.7.0 environment, including PyTorch>=1.7

Prerequisites:

Pip install the ultralytics package including all requirements in a Python>=3.7 environment with PyTorch>=1.7.

pip install ultralytics
pip install rospkg

Installation yolov8_ros

cd /your/catkin_ws/src

git clone https://github.com/qq44642754a/Yolov8_ros.git

cd ..

catkin_make

Basic Usage

  1. First, make sure to put your weights in the weights folder.
  2. The default settings (using yolov8s.pt) in the launch/yolo_v8.launch file should work, all you should have to do is change the image topic you would like to subscribe to:
roslaunch yolov8_ros yolo_v8.launch

Alternatively you can modify the parameters in the launch file, recompile and launch it that way so that no arguments need to be passed at runtime.

Node parameters

  • image_topic

    Subscribed camera topic.

  • weights_path

    Path to weights file.

  • pub_topic

    Published topic with the detected bounding boxes.

  • confidence

    Confidence threshold for detected objects.

yolov8_ros's People

Contributors

qq44642754a avatar yang-jiaye avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.