Git Product home page Git Product logo

target_detection's Introduction

Target Detection package for ROS

Overview

This is a ROS package developed for Target object detection using RGB-D camera.

It is assumed that we have pre-trained Object detection system such as YOLO or OpenPose.

Dependencies

Azure Kinect SDK

If you want to use Azure Kinect as RGBD camera, you should install Kinect SDK.

curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo apt-add-repository https://packages.microsoft.com/ubuntu/18.04/prod
sudo apt update
sudo apt install -y libk4a1.3 libk4a1.3-dev k4a-tools

clone Azure Kinect ROS drivers, compile packages in your workspace

git clone https://github.com/microsoft/Azure_Kinect_ROS_Driver
catkin build

If you have some problem, please follow instrunctios from https://github.com/microsoft/Azure-Kinect-Sensor-SDK

YOLO

To compile this package, you need to build darknet_ros_msgs

Pleae follow instructions from https://github.com/leggedrobotics/darknet_ros

For more information about YOLO, Darknet, available training data and training YOLO see the following link: YOLO: Real-Time Object Detection.

Test

  1. launch rgbd camera node
  2. target_frame_id (e.g.,"map") should exist.
roslaunch azure_kinect_ros_driver driver.launch
roslaunch darknet_ros yolov_3.launch
rosrun pointcloud_processing pcl_processing

Test with Lidar

  1. Complie packages: pointcloud_processing, transform_pointcloud, rviz_tools_py
  2. launch rgb camera node (or robot)
  3. launch darknet_ros (or retinanet_ros)
roslaunch darknet_ros yolov_3.launch
  1. launch transform_pointcloud (this node will convert frame_id of pcl data),
roslaunch transform_pointcloud transform.launch
  • check pcl data is in target frame_id in launch file and output topic name is changed to : pointcloud_transformer/output_pcl2
  1. rosrun rviz_tools_py fov_demo.py
  • Parameter should be set: the width, hegiht resolution of rgb image,and the frame_id of rgb image
  • You should change these value in fov_demo.py
  • WIDTH_RES, HEIGHT_RES, _SENSOR_TF
  1. roslaunch pointcloud_processing sep_processing.launch

Also need to test the launch file target_detection/launch/pose_Estimation.launch which appeared to have the correct remap args

  • current target class is chair. you might change this clas in sep_processing.cpp directly at this moment. will work on configuration later.

target_detection's People

Contributors

ssteveminq avatar chriswsuarez avatar robertblakeanderson avatar ryangupta8 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.