ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

video taken by kinect camera

asked 2012-11-02 18:25:34 -0600

surumi gravatar image

how to acess a video taken by a kinect camera using matlab

edit retag flag offensive close merge delete


Are you using ROS?

jbohren gravatar image jbohren  ( 2012-11-04 16:31:41 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-11-05 02:38:19 -0600

SL Remy gravatar image

Assuming that you're intending to do some sort of processing on the frames from the video stream...

If you use the imread method and the mjpeg_server it should still be possible to use something like img=imread('http://localhost:8080/snapshot?topic=/IMAGE_TOPIC') to access the current image.

I hope speed isn't a concern for your application, it's been a while since I tried something like this, and if memory serves me well, it took about 1-2 seconds per frame for the images that I was sending.

(As a note, I do not remember if there was any magic associated with telling matlab the file extension since it's not included in the url)

edit flag offensive delete link more

Question Tools


Asked: 2012-11-02 18:25:34 -0600

Seen: 325 times

Last updated: Nov 05 '12