Difference between revisions of "ROS CamShift"
From wikidb
(→Listings) |
|||
Line 1: | Line 1: | ||
− | == Listings == | + | == For OpenCV 2 == |
+ | |||
+ | For NUC with Ubuntu 14.04 and OpenCV 2.4 | ||
+ | |||
+ | === Build === | ||
+ | |||
+ | In <tt>/home/eepp/catkin_ws</tt>. | ||
+ | |||
+ | catkin_make | ||
+ | |||
+ | === Execute === | ||
+ | |||
+ | roscore | ||
+ | rosrun usb_cam usb_cam_node ~video_device "/dev/video0" | ||
+ | rosrun follow cam_shift_tracker | ||
+ | |||
+ | |||
+ | == Old == | ||
+ | |||
+ | === Listings === | ||
Based on /usr/share/doc/opencv-doc/examples/c/camshiftdemo.c. See [[CamShift]]. | Based on /usr/share/doc/opencv-doc/examples/c/camshiftdemo.c. See [[CamShift]]. | ||
Line 5: | Line 24: | ||
* [[Track It using CamShift]] | * [[Track It using CamShift]] | ||
− | == Snapshot == | + | === Snapshot === |
[[Image:ROSCamShift.jpg]] | [[Image:ROSCamShift.jpg]] |
Revision as of 11:17, 29 August 2015
For OpenCV 2
For NUC with Ubuntu 14.04 and OpenCV 2.4
Build
In /home/eepp/catkin_ws.
catkin_make
Execute
roscore rosrun usb_cam usb_cam_node ~video_device "/dev/video0" rosrun follow cam_shift_tracker
Old
Listings
Based on /usr/share/doc/opencv-doc/examples/c/camshiftdemo.c. See CamShift.