Kinect Depth Image for tracking moving object

asked 2016-03-19 10:33:00 -0500

PKumars gravatar image

updated 2016-03-19 16:09:53 -0500

Dear All, I'm trying to track a moving object using only depth image of Kinect sensor. I'm using ROS Indigo in Ubuntu 14.04 and I'm subscribing /camera/depth/image. if i'm not wrong then is it possible to use background subtraction method for this purpose?

it will be really helpful if anyone can provide some source code as an example.

thank you all

edit retag flag offensive close merge delete


Hi, I am a student and I also need to to the same process. I found something here. But I havnt implemneted yet. I am trying to subscribe /camerfa/depth/points. Please share your update if you find any solution.

rasoo gravatar image rasoo  ( 2016-10-14 14:21:19 -0500 )edit

hello, I was not trying to down-sample point cloud data. i was trying to detect and track a moving object using only depth image. point cloud data and other things are not considered in this case. I hope you understand the main reason for this question. I stopped this method and tried another method

PKumars gravatar image PKumars  ( 2016-10-15 09:35:43 -0500 )edit

Can you please share me which method you tried.I was also trying to detect any moving object. Only detection of something moving.Tacking is optional. I thought by comparing to consecutive frame i can detect if there is any object moving. But I may not in the right track. But my problem is the same.

rasoo gravatar image rasoo  ( 2016-10-15 19:02:52 -0500 )edit

I used color image to detect the object according to color and then used point cloud to get 3D position of that object. you can also use depth image to get 3D position but for that you need camera parameters.

PKumars gravatar image PKumars  ( 2016-10-16 05:08:39 -0500 )edit

Hey did you find some example code?

Markus gravatar image Markus  ( 2018-06-08 15:17:17 -0500 )edit

Yes I did find. But Currently I'm working in a commercial project.

PKumars gravatar image PKumars  ( 2018-06-08 20:09:42 -0500 )edit