ROS Package for github/gustav/realtimeobjectdetection
June 21, 2018 ยท View on GitHub
Getting started:
- clone this repo into your catkin workspace [catkin_ws/src/]
- build your workspace:
catkin build source devel/setup.bash- create copy of
config.sample.ymlnamedconfig.sampleand change parameter according to your needs - start ros:
roscore - start camera node:
rosrun usb_cam usb_cam_nodeorroslaunch realsense2_camera rs_camera.launch - start detection_node:
rosrun objdetection detection_node - witness greatness!
Using Scripts:
- edit VIDEO_INPUT variable to an openCV readable path: like
0for/dev/video0 - run the py_scripts inside the directory like: python
run_objectdetection.py - to run the sh_scripts first change parameters inside
config_tools.shand thesourceit to export environment variables. After that run the scripts in the same terminal like:source summarize_graph.sh