You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ You can use any input that OpenCV on your system accepts, e.g.:
56
56
57
57
Note these important ones on the behaviour of the node:
58
58
59
-
*`set_camera_fps`: Will set the OpenCV parameter `CV_CAP_PROP_FPS` to that amount of fps, if the camera allows it.
59
+
*`set_camera_fps`: Will set the OpenCV parameter `CV_CAP_PROP_FPS` to that amount of fps, if the camera allows it.
60
60
Does nothing on video streams or video files.
61
61
62
62
*`buffer_queue_size`: Will set the size of the buffer of images read from the capturing device. We read
@@ -70,9 +70,9 @@ So if you want the very latest image published from a camera, set `buffer_queue_
70
70
71
71
If you want to publish all images (don't drop any and you don't mind some possible delay from real time), set `buffer_queue_size` big enough for your case (1000?),
72
72
`set_camera_fps` and `fps` to whatever FPS it has.
73
-
73
+
74
74
The rest of the parameters explained, even though they are pretty self explanatory:
75
-
75
+
76
76
*`camera_name`: node name and ros graph name. All topics will hang from this e.g.: /camera_name/<TOPICS>.
77
77
*`video_stream_provider`: A number for the /dev/videoX device, e.g.: 0 for /dev/video0. A string for a path for a video file, e.g.: /home/user/Videos/myvideo.avi
78
78
or a url of a video stream e.g.: rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov and http://10.68.0.6/mjpg/video.mjpg.
@@ -84,6 +84,7 @@ If you want to publish all images (don't drop any and you don't mind some possib
84
84
*`width` and `height`: force a width and height to the capturing device (if it allows), 0 means no forcing.
85
85
*`start_frame`: if the provider is a video file, set the start frame of video.
86
86
*`stop_frame`: if the provider is a video file, set the stop frame of video. `-1` means the end of the video. Also setting `stop_frame = start_frame + 1` can publish a single frame with a certain rate.
87
+
* 'enable_mjpg`: try to force MJPG capture stream on camera devices
87
88
88
89
# Extras
89
90
@@ -100,4 +101,3 @@ And you'll see an output like:
100
101
Correctly opened resource, starting to show feed.
101
102
102
103
With an OpenCV image show window showing the stream (which should close when pressing ESC, or Control+C the shell).
0 commit comments