- clone this repo into your catkin workspace [catkin_ws/src/]
- build your workspace:
catkin build
source devel/setup.bash
- create copy of
config.sample.yml
namedconfig.sample
and change parameter according to your needs - start ros:
roscore
- start camera node:
rosrun usb_cam usb_cam_node
orroslaunch realsense2_camera rs_camera.launch
- start detection_node:
rosrun objdetection detection_node
- witness greatness!
- edit VIDEO_INPUT variable to an openCV readable path: like
0
for/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.sh
and thesource
it to export environment variables. After that run the scripts in the same terminal like:source summarize_graph.sh