Giter Site home page Giter Site logo

vision_ws's Introduction

vision_ws

Vision code for P100 quadrotor platform

方向定义: 目标位置 [机体系下:前方x为正,右方y为正,下方z为正]

标志位: orientation.w 用作标志位 1代表识别到目标 0代表丢失目标

发布话题适用于椭圆、二维码、yolo等视觉算法

安装

cd ~
mkdir vision_ws
cd vision_ws
mkdir src
cd src
git clone https://github.com/amov-lab/vision_ws.git
cd ..
catkin_make

相机标定

rosrun camera_calibration cameracalibrator.py --size 8x6 --square 0.0245 image:=/usb_cam/image_raw camera:=/usb_cam

size为标点板尺寸,square为每个方格宽度(m),image:=相机话题 将得到的参数写入

vision_ws/src/vision_ws/config/camera_param.yaml

修改每个算法的launch文件,指向以上参数文件camera_param.yaml

vision_ws/src/vision_ws/aruco_det_ros/launch/aruco_det.launch
vision_ws/src/vision_ws/darknet_ros/darknet_ros/launch/darknet_ros.launch
vision_ws/src/vision_ws/ellipse_det_ros/launch/ellipse_det.launch
vision_ws/src/vision_ws/ellipse_det_ros/launch/ellipse_det_wt.launch
vision_ws/src/vision_ws/landpad_det_ros/launch/landpad_det.launch

运行

1.降落板检测

roslaunch aruco_det aruco_det.launch # 二维码检测
roslaunch landpad_det landpad_det.launch # 降落板检测

2.椭圆检测

roslaunch ellipse_det ellipse_det.launch # 所有的椭圆
roslaunch ellipse_det ellipse_det_wt.launch # 带训练的指定椭圆

3.YOLO检测

roslaunch darknet_ros darknet_ros.launch

4.数字检测

roslaunch digitnum_det_ros num_det.launch

vision_ws's People

Contributors

potato77 avatar jario-jin avatar

Watchers

James Cloos avatar

Forkers

guojianyang

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.