YouTube home Comedy Week on YouTube
Upload

3D Video Capture with Kinect

okreylos okreylos·33 videos
7,821
2,453,856
Like     Dislike 229

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to like okreylos's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to dislike okreylos's video.

Sign in to YouTube

Sign in with your Google Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to add okreylos's video to your playlist.

Uploaded on Nov 14, 2010

By combining the color and the depth image captured by the Microsoft Kinect, one can project the color image back out into space and create a "holographic" representation of the persons or objects that were captured.

For more information and source code, check my Kinect project page at http://idav.ucdavis.edu/~okreylos/Res...

Based on the reverse engineering efforts of user marcan42.

Loading icon Loading...

Loading icon Loading...

Loading icon Loading...

The interactive transcript could not be loaded.

Loading icon Loading...

Loading icon Loading...

Ratings have been disabled for this video.
Rating is available when the video has been rented.
This feature is not available right now. Please try again later.

Uploader Comments (okreylos)

  • Tariq Iqbal

    Hi Oliver,

    Great job! Really exciting. I am new to Kinect, and facing very basic problem. I am using Kinect SDK 1.6 and VS2010 C#. I don't know how to record RGB and Depth video separately at 30FPS. I can show them, but if I try to write them as separate .png files, then the synchronization breaks and ends up with 5/6fps. Is there any standard way of recording videos and skeletal data? I also don't know if it is possible by multi-threading, and how. Your help will be highly appreciated.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Tariq Iqbal's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Tariq Iqbal's comment.
  • okreylos

    I can only speak in generalities, but writing PNG images has significant overhead. If you do all in a single thread, your CPU might max out at 6 fps. Most importantly, use multithreading. I use one thread per Kinect and processing stage (capture from USB, background removal, conversion to RGB / depth image, compression, writing) for a fully parallel processing pipeline. Second, instead of PNG either use an uncompressed "raw" image format like PPM, or write directly to a compressed video file.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate okreylos's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate okreylos's comment.
    in reply to Tariq Iqbal (Show the comment)
  • okreylos

    In my code, I use a custom lossless delta+Huffman encoder for depth frames, and a lossy Theora video codec for color frames. Both can keep up with 30 fps streams if they run in their own threads on a four year old Intel Core2 duo. On a Core i7, the code can process 2 Kinects at 30fps in real time. 2 Kinects is not an upper limit, it's just the most I've used so far on a single PC due to the USB bandwidth limitations.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate okreylos's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate okreylos's comment.
    in reply to Tariq Iqbal (Show the comment)
  • Tariq Iqbal

    Thank you very much for your reply. Is it possible to download your code from online. So, that I can take a look, and modify my code, or use your method for video recording. Thanks.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Tariq Iqbal's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Tariq Iqbal's comment.
    in reply to okreylos (Show the comment)
  • okreylos

    My project page with source code is linked from the video description.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate okreylos's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate okreylos's comment.
    in reply to Tariq Iqbal (Show the comment)
  • Arron Parker

    wow incredible my names arron im a street magician designer/inspirer i was wondering i need a good camera and my webcams so slow to capture could i use my kinect to record videos from my pc some how heres the video id like to record again thnks support from you regarding this matter would be great

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Arron Parker's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Arron Parker's comment.
  • okreylos

    You could; but if you just want to record regular video, there are much better-quality webcams for less money. The Kinect can only do 640x480 at 30 Hz, or 1280x1024 at 15 Hz.

    Newer Linux distros have built-in Kinect support, they treat it like any other webcam.

    · 2

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate okreylos's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate okreylos's comment.
    in reply to Arron Parker (Show the comment)

Top Comments

  • okreylos

    Yes; the video is recorded into a 3D geometry stream, and can be played back from any point of view, and on any type of display (including stereoscopic). My videos "Picnic Day Exhibit Test - 3D TV" (watch?v=wM65Gx08A0M) and "Exploring the El Mayor-Cucapah Fault Rupture Using LiDAR Viewer" (watch?v=_e2DsZ40sqg) are already in 3D, and should work on your 3D TV depending on your YouTube viewer settings.

    · 6

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate okreylos's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate okreylos's comment.
    in reply to TheDeepsal (Show the comment)
  • Benjamin Kingsley

    if you were to set up multiple kinect cameras you would be able to make a complete 3d re-image of your room??, if you could do that would it be at all possible to apply it to something like Skype?? and then from that area would it be at all possible to create a hologram??

    · 5

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Benjamin Kingsley's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Benjamin Kingsley's comment.

Video Responses

This video is a response to Kinect open source driver demo

All Comments (2,091)

Sign in now to post a comment!
  • ethan ivory

    Cool

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate ethan ivory's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate ethan ivory's comment.
  • osearth

    proof of a 2D universe masquerading as more

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate osearth's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate osearth's comment.
  • Toan Nguyen

    This is Amazing !!! I've searched through Internet for a good way to merge color and depth, all are pretty good but this is the best. Yay you man!

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Toan Nguyen's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Toan Nguyen's comment.
  • Tariq Iqbal

    Thank you very much. I will try it.

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Tariq Iqbal's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate Tariq Iqbal's comment.
    in reply to okreylos (Show the comment)
  • moses modise

    can i use xbox 360 kinect sensor on 3d animation applications

    ·

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate moses modise's comment.

    Sign in to YouTube

    Sign in with your YouTube Account (YouTube, Google+, Gmail, Orkut, Picasa, or Chrome) to rate moses modise's comment.
  • Loading comment...
Loading...
Loading...
Working...
Sign in to add this to Watch Later