Clear Filters
Clear Filters

Using imaqtool how can I capture Kinect V2 depth images at 10 fps

5 views (last 30 days)
Hello, I'm hoping some one could point me in the right direction.
I need to collect depth data images from the Kinect V2 at a specific frame rate (10 fames per second). I would like to output these files as png files to analyse the depth data and would need to capture the frame number and time with each image.
I've seen suggestions of using a "call back function" to support the output.
ANy help woul dbe appreciated.

Accepted Answer

Walter Roberson
Walter Roberson on 28 Jan 2019
Create a timer object with a timer period of 1/10 seconds, and each time the timer callback fires, do a peekdata() on the kinect object.
This is the only way I can see at the moment to be able to specify your own frame timing.
  2 Comments
Rob Wright
Rob Wright on 28 Jan 2019
Hi Walter, thank you for your response.
Okay so that confirms things for me as well - I couldn't see anything that was a simple set the number of frames. I will take a look at your suggested work round.
Much appreciated.
Walter Roberson
Walter Roberson on 28 Jan 2019
number of frames per trigger is easy . Controlling frame rate is not obvious .

Sign in to comment.

More Answers (0)

Products


Release

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!