Giter Club home page Giter Club logo

ros-yolo's Introduction

ROS YOLOv2 integration

Integrates YOLOv2 with ROS, generating messages with position and confidence of detection.

Requirements

  • ROS (tested on Jade and Kinetic)

  • GPU supporting CUDA

Installation

This repository should be cloned to the src directory of your workspace. Alternatively, the following .rosinstall entry adds this repository for usage with wstool:

- git:
    local-name: yolo2
    uri: https://github.com/ThundeRatz/ros_yolo2.git

Setup

Copy your network config to data/yolo.cfg and network weights as data/yolo.weights.

Message format

For every image received, an ImageDetections message is generated at the yolo2_detections topic, containing a Header and a vector of Detection. The header time stamp is copied from the received image message; this way, a set of detections can be matched to a specific image. Each Detection contains the following attributes:

  • uint32 class_id - Class number configured during training;
  • float32 confidence - Confidence;
  • float32 x - X position of the object's center relative to the image (between 0 = left and 1 = right);
  • float32 y - Y position of the object's center relative to the image (between 0 = top and 1 = bottom);
  • float32 width - Width of the object relative to the image (between 0 and 1);
  • float32 height - Height of the object relative to the image (between 0 and 1).

Contributors

Written by the ThundeRatz robotics team.

ros-yolo's People

Contributors

payamn avatar rakeshshrestha31 avatar

Watchers

James Cloos avatar Wang Pengfei 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.