12.2: The Depth Image - Kinect and Processing Tutorial

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025

Комментарии • 191

  • @QuarktaschemitSenf
    @QuarktaschemitSenf 2 года назад +1

    this channel is a goldmine! thank you

  • @subhadipdas9210
    @subhadipdas9210 8 лет назад +1

    These videos on kinect is just awesome..by far it's better than the other available videos..please make a tutorial video on how to extract the array values of the depth data..I need them in excel or matlab.

    • @TheCodingTrain
      @TheCodingTrain  8 лет назад

      Great idea! You can suggest here: github.com/CodingRainbow/Rainbow-Topics/issues

  • @Julillermo
    @Julillermo Год назад

    Thank you so so much! You have inspired me so much! I plan on watching as much of your videos as I can! Thank you!

    • @TheCodingTrain
      @TheCodingTrain  Год назад

      Wonderful, keep me posted on how it goes! (The kinect is a little out of date but I have plenty of more current videos)

  • @Picnicly
    @Picnicly 5 лет назад +4

    really really appreciate these

  • @dianaroman7635
    @dianaroman7635 8 лет назад

    thank you very much for your help, i am happy for find your blog. Greetings from Mexico,City

  • @setupdraw7642
    @setupdraw7642 9 лет назад +13

    I am using kinect v1, kinect.initDevice() does not work. I would like to know if/where I can find examples for kinect v1

  • @baris7971
    @baris7971 8 лет назад

    Hello Daniel,
    first of all Thumbs up for the great Videos you provide to us!.
    Love the way how you teach.
    I Had a great Idea for a real world Scenario with the Kinect, maybe it will challenge you too.
    The idea is following:
    1.) Using the Kinect to Track Eyes
    2.) Calculating the Spot on the Screen the eye is looking at.
    3.) Based on that spots generating a Heat Map to see where the User has been looking at over a time (delta T).
    4.) Layer this Heatmap over the screen to see visually where someone has looked at.
    Eye Tracking Hardware is pretty expensive, and maybe the Kinect is the right Hardware to use to build an amateur Eye Tracking Laboratory.
    If think step 1 and 2 are the hardest steps to realize.
    Maybe you find this interesting too and we can see it in a Coding Challenge Video =)
    Best Wishes,
    Baris

  • @rushilshah438
    @rushilshah438 7 лет назад +9

    Using the Kinect v1. I have my kinect plugged it and working. But I keep getting the error:
    64 windows
    There are no kinects, returning null
    Could not open camera: -12
    Failed to open camera subdevice or it is not disabled.Failed to open motor subddevice or it is not disabled.Failed to open audio subdevice or it is not disabled.
    Any Help???

    • @Ghostsean6
      @Ghostsean6 6 лет назад

      That's a permission error

    • @placebo_yue
      @placebo_yue 5 лет назад

      @@Ghostsean6 and how do you solve it? i used kinect4win library and the kinect worked straightaway. So why do we get this error?

    • @Ghostsean6
      @Ghostsean6 5 лет назад

      @@placebo_yue I think i mis read this 9 months ago, i work mainly on linux and there you can fix permission errors by being root or using Sudo
      Perhaps on windows you can try opening a terminal with Administration rights or opening a program with Admin rights
      Otherwise try removing and reinstalling the drivers (you can easily lookup how to do that)
      Or if everything fails if you have a spare computer you can try a fresh install of windows to load it up on
      Again, i work mainly on linux now so my advice can be off, hope it helps tho

    • @briandinh9504
      @briandinh9504 4 года назад

      Use Zadig to install all libusbK drivers. Remember to go to option -> List all devices to install all drivers needed. You may want to use the Zadig 2.0.1 version if you're using Kinect v1.

  • @sebhch244
    @sebhch244 6 лет назад

    thanks man, great tutorial series with the kinect.

  • @eleazarherrera9268
    @eleazarherrera9268 5 лет назад +2

    Hello Daniel, thanks for the tutorial! Please do you can help me with ID COLOR for KINECT v1 ? body with red color in depth and background with black color. Thanks!

  • @GoofieDoofus
    @GoofieDoofus 3 года назад +1

    Hi @TheCodingTrain! I am here, years later, trying to teach myself some development. I was wondering what I should do here if I am using a windows computer, as the Open Kinect for Processing is described as A Mac OS X implementation?

    • @HuyLe-zi1sz
      @HuyLe-zi1sz 3 года назад

      Hi, did you fix this problem?

    • @majoespinola2558
      @majoespinola2558 2 года назад

      @@HuyLe-zi1sz Hola! Me pregutno lo mismo!

  • @kalanidasaman5571
    @kalanidasaman5571 6 лет назад +1

    Hi Shiffman, Can you please explain how can I use these libraries to detect an object's xyz (3D) coordinates that placed in front of kinect?

  • @Finite8614
    @Finite8614 7 лет назад

    You are awesome, sir. Thanks for sharing your knowledge

  • @danas62
    @danas62 2 года назад

    Question....A long time ago I found a program that used depth images and textures to make those "Magic Eye" pictures that we all went cross-eyed over in the 90's. You know..."Can you see the hidden 3-D picture?". Could you use a Kinect to generate the depth map to use? Point it at someone's face to make a personalized Magic Eye? How can that image be saved and in what file format? Thanks!

  • @mosdev1663
    @mosdev1663 3 года назад +1

    Hi, if the message in console is "The function initDevice() does not exist" replace with "initVideo()"

  • @cdl862
    @cdl862 8 лет назад +4

    Hi Shiffman, Incredible set of videos! amazing. I have a kinect v1 + Processing 3.1.1 + OSX and after entering the code im coming up with 'there are no kinects, returning null' and a black screen. Any advice would be really really appreciated!!

    • @TheCodingTrain
      @TheCodingTrain  8 лет назад

      yikes, so hard to debug these problems. Can you try asking at forum.processing.org?

    • @evelyngiron1252
      @evelyngiron1252 8 лет назад

      Hey Carla Dee, can you resolve this problem?

    • @mathos50
      @mathos50 8 лет назад

      Is any solution was found to this probleme ?

    • @scottbogen1168
      @scottbogen1168 6 лет назад +3

      First go into device manager and make sure your computer even recognizes the Kinect. If it does, continue.
      Solution: Download and install Zadig @ zadig.akeo.ie/
      Plug in the kinect, open up Zadig. Go to Options -> List all devices. It should recognize the Kinect. To the right of the green arrow, find libusbK and then select Install Driver. It should now work properly.

    • @mauriciogutierrez2647
      @mauriciogutierrez2647 6 лет назад

      it Works!!! Thank you so much!

  • @saharal-hajyousef3286
    @saharal-hajyousef3286 4 года назад +1

    I have recently installed kinect2 using windows 10. I can see the sensor working from the kinect depth verification panel but when i use run the processing, it shows black screen and never turns on with an error msg "No device connected". any good tips?

    • @awaisahmed7033
      @awaisahmed7033 4 года назад

      github.com/shiffman/OpenKinect-for-Processing/issues/114

  • @KangJaeKyun
    @KangJaeKyun 8 лет назад +2

    is it possible to use Kinect v2 in Mac OS processing using Open Kinect for Processing?
    I tried but got error said that can't find Kinect2 object

  • @qzorn4440
    @qzorn4440 6 лет назад

    Nice. The NanoPi M4 2or4 gig has USB3, how would the Kinect work with that? Thanks.

  • @eratatat
    @eratatat 8 лет назад

    Hi Daniel, thank you for this useful video. Is there a way to combine depth image and video image from the kInect to do background subtraction on processing, similar to doing live green screen? Thank you!

  • @siennasun5837
    @siennasun5837 5 лет назад

    Daniel, I am wondering how can I do if I want to track people's movement and create spotlights following their movements using kinect?

  • @quanloithanh3934
    @quanloithanh3934 3 года назад

    You are genius Bro! Wonderful! Thanks u so much

  • @KingKatura
    @KingKatura 11 месяцев назад

    I know you probaly don't mess with kinects anymore, But did you run intio anyone that turned it into a document scanner or a photo copier? I kind of want to use it to digitalize my older books, to save them from destruction. But everyone seems to be abscessed with 3d printing.

  • @mailysfernandez7600
    @mailysfernandez7600 8 лет назад +1

    Hello Shiffman, I'm currently working on a project that used a Kinect v2 (on Windows 10 64-bits). First I'm trying your examples on processing to become familiar with it but I have a problem of library installation. I install the "open Kinect for processing" library but I have the following error :
    "64 windows
    A library relies on native code that's not available.
    Or only works properly when the sketch is run as a 32-bit application."
    Do I need to install something else ?

    • @TheCodingTrain
      @TheCodingTrain  8 лет назад +1

      Hmmmm, can you ask at forum.processing.org and also maybe file an issue in the github repo? I'll try to take a look!

    • @louiserobson9135
      @louiserobson9135 8 лет назад

      Did you fix this issue? I'm in a similar situation and I'm receiving the same error.

    • @mailysfernandez7600
      @mailysfernandez7600 8 лет назад

      I didn't have much time to work on it since I posted my comment (exam session). The problem isn't resolved yet. If you find a solution I am interested.

    • @louiserobson9135
      @louiserobson9135 8 лет назад

      After spending a few days trying to find a solution I gave up, I'm sticking to using the simpleOpenNI library instead - it isn't quite as good but is similar, and most importantly works without much trouble. Let me know if you do find a solution because I'd still like to use Shiffman's library!

  • @manclubandorra
    @manclubandorra 5 лет назад

    good morning friends
    can you please tell me which is the best configuration to buy a laptop to work with kinect v2?
    Thank you !

  • @Okeeeevan
    @Okeeeevan 7 лет назад +1

    Hi Daniel! I am using the first version of the kinect, and windows 10. but i always receive this error message: 'falied to submit isochronous transer *number between 1-7* : -12
    Do u have an idea how to manage this problem?

  • @miximaginario
    @miximaginario 2 года назад

    I still get the message 'No Kinect found' using Kinect v1 in Mac. Any way to solve this problem?

  • @florianmayer7609
    @florianmayer7609 8 лет назад

    A big thanks for your very helpfull videos!! I have on still unsolved question, is there a way to use the kinectV2 for macOS (sierra). I want to perform some image processing with matlab. It would be a big help, if you could help me or have a tutorial. a big THANK YOU from austria

  • @bjarnijanssens8049
    @bjarnijanssens8049 6 лет назад

    Using the Kinect V2 in processing 3 and I can't get it to work! I keep getting this error message:
    64 windows
    Init Kinect2
    [Freenect2Impl] enumerating devices...
    [Freenect2Impl] 7 usb devices connected
    [Freenect2Impl] failed to open Kinect v2 @1:18!
    [Freenect2Impl] found 0 devices
    No Device Connected!
    Cannot Find Devices
    EXIT
    closing Kinect v2 :
    Do you now how to fix this ?

    • @bereketyisehak5584
      @bereketyisehak5584 5 лет назад +1

      Bjarni Janssens, Have you figured it out? I am facing the same problem.

  • @seereen2004
    @seereen2004 7 лет назад

    Hi
    How we can caputre and save videos using Kinect and this processing library?
    thank you

  • @GetRealwithMike
    @GetRealwithMike 6 лет назад

    I'm doing research and need the Kinect for collecting depth data. The Kinect I have is from my old XBox 360. I want to run it on Windows 10. I have no coding experience other than a tiny amount of Python and HTML. I don't suppose you could create a video for the absolute beginner like me could you. I want to scan old wood carvings and create 3D images that can be carved on my 3D router table. I am restoring an old Victorian house myself. The wood trim around doors isn't made anymore so I need to scan it into an STL file to replicate it. I also think I have a couple of ghosts and would like to document them so I know if I'm seeing things or they really are there. Any experience using a Raspberry Pi 3B with the Kinect? I have one I can use but virtually no programmer knowledge. Thanks

    • @bondell1840
      @bondell1840 4 года назад

      did you find your solution yet?

  • @sandragutierrez271
    @sandragutierrez271 8 лет назад +2

    I got a problem with float b = brightness(img.pixels[index]); I got a array index out bounds exception 307200 error message, please help!

    • @ThePaulTrickett
      @ThePaulTrickett 8 лет назад +3

      I'm getting this error too, does anyone know a solution?

    • @jeeslerievesmusic
      @jeeslerievesmusic 7 лет назад

      hi, someone found the solution to this error??

    • @陳柏昱-x8b
      @陳柏昱-x8b 7 лет назад +1

      i thinks that you forget to change the x++ to x+=skip and also y

    • @hetty3835
      @hetty3835 7 лет назад

      Hey, there's probably a typo. For me, I accidentally used 'x' variable instead of 'y' in the second for-loop. It works well now :) Also, do check for x+=skip and y+=skip

    • @sori9641
      @sori9641 5 лет назад

      Still the same. It still does not work :(

  • @yashturkar1175
    @yashturkar1175 6 лет назад

    So I am using the kinect 1414 , the codes work and I get the output but after 20 seconds or so the output stops and "USB camera marked dead, stopping streams" starts printing

  • @jaimeorozco7019
    @jaimeorozco7019 8 лет назад +2

    Hello Daniel, i have a problem initializing the kinect object, the console is telling me that "The function "initDevice()" does not exist" (I´m on a mac Sierra, with kinect 1414 and processing 3.2.1) =(

    • @shko271191
      @shko271191 8 лет назад +9

      The first version of kinect does not need initDevice().

  • @QuarktaschemitSenf
    @QuarktaschemitSenf 2 года назад

    One tiny mistake on 10:30. The resolution of version one is 640*480 but for the RGB-Cam. The depth-cam of version 1 only offers 320*240.
    Overview Version one:
    Depth-Cam: 320*240
    RGB-Cam: 640*480
    Version Two:
    Depth-Cam: 512*424
    RGB-Cam: 1920*1080 --> get version 2

  • @ClearNinjaFox
    @ClearNinjaFox 9 лет назад

    Why cant we use this type of algorithms for regular webcams with those extra feature that makes up the IR part of the kinect ? also how did you have your IDE have those drop down list of things to use ? my P3 or P2 does not do that

    • @TheCodingTrain
      @TheCodingTrain  9 лет назад

      +Sys.stem In Processing 3 go to preferences and enable "code completion" Yes, you can use similar algorithms with a regular webcam too, hope to make some more computer vision videos soon! This is a great essay to get you started: www.flong.com/texts/essays/essay_cvad/

    • @ClearNinjaFox
      @ClearNinjaFox 9 лет назад

      thank dani Daniel Shiffman

  • @videosdemo100
    @videosdemo100 2 года назад

    Hi, I want to conect my camera kinect to my computer, I added a PCI card USB 3.0 (with chip renesas - that is a requirement), but the computer doesn't recognize the camera. The configuration test detect that USB port is not supported. What should I do? the power adapter is 12 volt, 1.67 amperes. Can you help me solve this problem?

    • @borjonx
      @borjonx Год назад

      Can you show me the wiring diagram you used to split the kinect to a normal USB adapter?

  • @harshgoel7001
    @harshgoel7001 7 лет назад

    I am trying to use kinect 2 with a robot for control purposes. The robot is generally programmed in java. Can I use the openKinect Library within the application framework of the robot itself?

  • @deepankverma
    @deepankverma 9 лет назад +2

    "The function kinect.initDevice() does not exist" shows on processing. What do u think might be a problem. I'm on windows.

    • @TheCodingTrain
      @TheCodingTrain  9 лет назад +1

      +deepank verma are you using the kinect v1 or v2? I think for the v1, the initDevice() function is not necessary. This might actually be an error as I would like the code for both libraries to be identical. I will look into it.

    • @deepankverma
      @deepankverma 9 лет назад

      +Daniel Shiffman I am using v1 device. The code didn't respond even on removing both functions.

    • @TheCodingTrain
      @TheCodingTrain  9 лет назад

      +deepank verma does this code work? github.com/shiffman/OpenKinect-for-Processing/blob/master/OpenKinect-Processing/examples/Kinect_v1/RGBDepthTest/RGBDepthTest.pde

    • @deepankverma
      @deepankverma 9 лет назад

      +Daniel Shiffman this code opens up a blank window in processing 2 and shows no response in processing 3.0 version. Maybe some platform related bug. I am continuously trying to get hold of other examples to see what exactly is a problem.

    • @TheCodingTrain
      @TheCodingTrain  9 лет назад

      +deepank verma ok, keep me posted. This thread probably makes more sense on github if there is a bug. github.com/shiffman/OpenKinect-for-Processing/issues

  • @harshvardhan8956
    @harshvardhan8956 4 года назад

    I have clicked a picture with IntelRealsense 435i. I have the depth picture with me which have the colour combinations. with the help of Matlab, I can have R, G, B at any particular region. How can I calculate a "value" in single integer so that I can calculate the depth of a point as compared to another point in the picture

  • @alhdlakhfdqw
    @alhdlakhfdqw 6 лет назад

    hi sir. grat videos Thank you very much for ur efferts! is it possible to do spatial mapping with Kinect and processing?

  • @_gnocchi
    @_gnocchi 4 года назад

    is it possible to obtain the same effect but from a photograph rather than Kinect?

  • @Thermacon
    @Thermacon 8 лет назад +1

    You may say this, but how do you even plug the Kinect into your computer? Is there an adapter or something?

    • @Thermacon
      @Thermacon 8 лет назад

      My Kinect version is 1414 (v.1)

    • @yourcat8113
      @yourcat8113 8 лет назад

      Penguindon www.xbox.com/en-AU/xbox-one/accessories/kinect/kinect-adapter

  • @yingyifeng4524
    @yingyifeng4524 4 года назад

    Hi!
    I've tried using the Kinect 360 with the mac using your code in Processing but it says that it cannot detect the Kinect. Is that an issue with my USB cable? or is there some other issue? Would love to solve this issue and get this working! Would appreciate any advice from anyone else in this group!

    • @shaneburke7274
      @shaneburke7274 4 года назад

      I am having the same issue. Did you find out how to fix it?

    • @yingyifeng4524
      @yingyifeng4524 4 года назад +1

      @@shaneburke7274 Hi I managed to solve this with a code written by someone else who introduced the solution to me. Will share this with you

    • @sharonwu4585
      @sharonwu4585 2 года назад

      I am also having the same problem! Help me out please?

    • @miximaginario
      @miximaginario 2 года назад

      @@yingyifeng4524 hi! do you have that code? I am having the same problem

  • @dastanmuhamad6418
    @dastanmuhamad6418 8 лет назад +1

    Daniel,
    First of all, thank you for this amazing explanation . REALLY, WELL DONE..!!
    Anyway sticking to the point, I am using Kinect v1. And I am doing the programmings after your instructions. However, I faced an obstacle, which I don't know how to solve. When I run my program the console error notifies this message " The function initDevice does not exist".. I would really really really appreciate it if you sort of guide me or inform me how to overcome that issue.
    Thanks again !!

    • @TheCodingTrain
      @TheCodingTrain  8 лет назад +1

      +dastan muhamad initDevice() is not necessary for kinect v1. Take a look at these examples: github.com/shiffman/OpenKinect-for-Processing/tree/master/OpenKinect-Processing/examples/Kinect_v1

  • @BrilBags.D
    @BrilBags.D 5 лет назад

    I got a problem to connected the Devices.. No Device Connected and Cannot Find Device. Can you help with those problem sir?? I'm stuck..

  • @won2087
    @won2087 8 лет назад

    hello shiffman, right now im about create a code by using kinect processing to have just sound of speaking has been destroyed that no one could understand any vocabulary.
    but when some objects or people go near to kinect, the distortion of sound dispears step by step.
    To do this code, do you have any recommandation ?

    • @TheCodingTrain
      @TheCodingTrain  8 лет назад

      Sounds like a great idea! I would ask for suggestions at forum.processing.org, feel free to link from here. You should be able to use processing.sound library to do the speech distortion.

  • @carlosgarcia-uy1bf
    @carlosgarcia-uy1bf 6 лет назад

    another thing that has been downloaded the githup but how we upload them in the processing

  • @moonswhite1409
    @moonswhite1409 7 лет назад

    very good explanation
    very helpful
    Thank you

  • @rahulsmohan
    @rahulsmohan 6 лет назад

    Is Kinect can measure height of the human body/ calculate hip ratio?

  • @carlosgarcia-uy1bf
    @carlosgarcia-uy1bf 6 лет назад

    I have problems with the part of the kinect apply the code of your video and the kinect does not show me image

  • @RupertBruce
    @RupertBruce 3 года назад

    Use the kinect next to the camera to determine your silhouette as an input to your green-screen software 🙂

  • @dan_ugcfactory
    @dan_ugcfactory 6 лет назад

    I'm receiving the following error: "Could not run the sketch. 64 windows. A library relies on native code that's not available. Or only works properly when the sketch is run as a 32-bit application. Could not run the sketch (Target VM failed to initialize)."
    Thoughts?

    • @sripradpotukuchi9415
      @sripradpotukuchi9415 4 года назад

      I am getting a similar error and I am running linux(ubuntu). My guess is that this is because this library only works on Mac. I am desperately trying to find solutions that will help me use my kinect for image processing in linux

  • @Pro-grammers
    @Pro-grammers 4 года назад

    Hello sir, could you teach me skeleton tracking programming on raspberry pi3 using Kinect camera 1473.

  • @nikossmyrnakis8120
    @nikossmyrnakis8120 8 лет назад

    my processing(macbook) say "No Device Connected!" with the kinect360 what can i do

  • @vincrosea6446
    @vincrosea6446 9 лет назад +1

    Gosh! Such a great explanation and tutorial! I'm been looking for more tutorial for kinect by using processing, can i request if you can make a Face detaction and the skeleton(face) in processing? Thanks Daniel Shiffman! :)

    • @TheCodingTrain
      @TheCodingTrain  9 лет назад +1

      +Vinc Rosea I'm definitely planning on doing some skeleton tracking video tutorials soon, stay tuned!

    • @vincrosea6446
      @vincrosea6446 9 лет назад

      +Daniel Shiffman Awesome! thanks :)

    • @shuhaoshang
      @shuhaoshang 7 лет назад +1

      I am still waiting for you Skeleton tracking video, Dan. The libraries I tried on Mac always not working... hope you can have tutorial for that will be a life saver to me.

  • @ladrok97
    @ladrok97 9 лет назад

    I have kinect v1 and processing 3.0.1 can't connect to it (FAAST 1.2 working with it). My operation system is Windows 7. Your scripts work, but can't connect... You know what solution can be?

    • @TheCodingTrain
      @TheCodingTrain  9 лет назад

      +ladrok97 Sorry, I'm not sure, did you try asking at forum.processing.org?

    • @kieranp5780
      @kieranp5780 6 лет назад

      yo, i know this is a little late(two years), but u need a proper adapter with a power cable, and you need to install the right drivers with the Zadig program

  • @realprodigy9104
    @realprodigy9104 6 лет назад

    Amazing my friend, thk u

    • @realprodigy9104
      @realprodigy9104 6 лет назад

      can u read the number of one pxl? like pxl(1,1) is 180, pxl (1,5) is 200....?

  • @ambientsoda106
    @ambientsoda106 6 лет назад

    what is going on with the library, I had the kinect functioning? then suddenly it stopped...is there something going on with the library...

  • @sabolphoto
    @sabolphoto 8 лет назад

    The function kinect.initDevice() does not exist
    I get this response when I try running this code. OSX + Processing 2.2.1. and V1 Kinect sensor. Could you please help me with this. What can be the problem because I see you are running OSX and it works.
    [UPDATE] I kicked out initDevice() and I could get it to work.

    • @TheCodingTrain
      @TheCodingTrain  8 лет назад

      +sabolphoto apologies, i need to do a better job of making this video and code compatible for v1

    • @sabolphoto
      @sabolphoto 8 лет назад

      +Daniel Shiffman is my solition a valid one or no? :)

    • @TheCodingTrain
      @TheCodingTrain  8 лет назад +1

      +sabolphoto yes indeed!

    • @sabolphoto
      @sabolphoto 8 лет назад

      +Daniel Shiffman thank you for quick reply

  • @blabberbytes9967
    @blabberbytes9967 8 лет назад

    I'm on windows 8.1 and it says The class "kinect" does not exist also in the console "No Device Connected! Cannot Find Devices" Tried multiple ports and version 1 Kinects. Help please?!

    • @Lucafro
      @Lucafro 8 лет назад +1

      I'm dealing with the same problem on windows 10

    • @manishsahu3612
      @manishsahu3612 8 лет назад +2

      I am facing the same problem with kinectv2 windows10

    • @levivazquez190
      @levivazquez190 8 лет назад

      Did you solve the problem?

  • @stevemelons
    @stevemelons 7 лет назад +1

    Love that see through shirt design

  • @nicolelu6163
    @nicolelu6163 9 лет назад

    Hi,Daniel,I have kinect V2,where to download the library for it?

    • @TheCodingTrain
      @TheCodingTrain  9 лет назад

      +Lu浩绵 in Processing 3 you can just go to library manager (Sketch --> Import Library --> Add Library) and then search for Kinect.

    • @nicolelu6163
      @nicolelu6163 9 лет назад

      +Daniel Shiffman sorry, my device were Xbox one with the kinect adaptor for windows,what library should I use?

    • @TheCodingTrain
      @TheCodingTrain  9 лет назад +1

      +N Lu "open kinect for processing" for these videos, but the kinectpv2 library is great too for windows.

  • @horstruedigger
    @horstruedigger 6 лет назад

    If i use 1 instead of 20 with the skip variable the picture won't come up at all... It's just pure black. What's wrong there?

  • @caseysmith5943
    @caseysmith5943 6 лет назад

    Awesome! Thanks

  • @TheM4rten
    @TheM4rten 7 лет назад +1

    please repair that camera switch :D great vid !

  • @smalldetails2329
    @smalldetails2329 8 лет назад

    I am on windows 10 downloaded the Zadig/Windows SDK 1.8 ver as got kinect device 1414
    on previous installation attempts installed zadig driver libusbK (v3.0.7.0)
    then the sdk was installed then the library in processing open kinect processing
    I have a flashing green light on kinect but still getting error ;
    64 windows
    no kinect device found
    I'm in a right pickle could u help me Daniel or anyone with any advice would be greatly appreciated cheers.

    • @TheCodingTrain
      @TheCodingTrain  8 лет назад +1

      sorry i don't have a windows machine to test, try asking at forum.processing.org!

    • @smalldetails2329
      @smalldetails2329 8 лет назад +3

      Thx for quick reply I've sorted it here is a tutorial if anyone needs it
      my setup
      Kinect 1414/Windows 10 / Processing 3.0 /Windows Kinect V1.8/Open Kinect for processing
      Instructions
      Instal first the SDK but without Kinect connected via usb and pick correct version for Kinect model.
      Kinect version 1 = V1.8 windows SDK
      www.microsoft.com/en-gb/download/details.aspx?id=40278
      Kinect version 2 = 2.0 windows SDK
      www.microsoft.com/en-gb/download/details.aspx?id=44561
      this next bit might just be for windows 8 & 10
      Then go run zadig- zadig.akeo.ie/
      go in options on zadig with kinect connected both power (plug)and usb
      select options/ tick list all devices & untick ignore hubs & composite parents
      to see all devices/drivers in dropdown
      now in dropdown bar you can see all 3 drivers to update:
      Xbox NUI Camera / Xbox NUI Motor / Kinect USB Audio (Composite Parent)
      update all 3 individually too libusbK(v3.0.7.0) if prompted are you sure select yes and your done.
      Dont forget the library in processing 3.0
      eg: open program processing 3.0
      Sketch -tab
      Import Library ---> Add Library
      Type kinect
      pick Library 4 these vids us ----> Open Kinect for Processing
      click instal and your sorted
      I hope this helps anyone save some time good look with your Kinect experiments.
      cheers again Dan :)

    • @nitoy12489
      @nitoy12489 8 лет назад +1

      Thank you so much, this helped me out tremendously! life-changing dude :)

    • @ben-lu3vd
      @ben-lu3vd 7 лет назад +1

      thank you !

  • @yntymakkaragulov3877
    @yntymakkaragulov3877 6 лет назад

    Please answer :( Can I use Kinect with linux?

  • @josuejaviermartinezalcanta5326
    @josuejaviermartinezalcanta5326 7 лет назад

    no tendrás un eje integrador para el museo Zambatha?

  • @TheAntonio209
    @TheAntonio209 8 лет назад

    how do i install the kinect to the computer, i keep getting no kinect found, returning null.. please help

    • @TheCodingTrain
      @TheCodingTrain  8 лет назад

      +Jesus Carranza Maybe you missed the additional drivers you need for windows: github.com/shiffman/OpenKinect-for-Processing/blob/master/README.md

    • @wilLOCK
      @wilLOCK 8 лет назад

      I am using Mac and receiving the following message:
      Loaded freenect from /Users/**/Documents/Processing 3/libraries/openkinect_processing/library/v1/mac/libfreenect.dylib
      No Kinect devices found.
      Failed to open camera subdevice or it is not disabled.Failed to open audio subdevice or it is not disabled.There are no kinects, returning null

  • @moncefcheti5355
    @moncefcheti5355 9 лет назад

    Is it only for MAC OSX ?! if not, is there a version for windows or linux ?

    • @TheCodingTrain
      @TheCodingTrain  9 лет назад

      +CHETITAH Moncef The library works for windows as well. Not linux yet though would love help porting it.

    • @claudiosilberman
      @claudiosilberman 7 лет назад

      it work on arch

  • @lyminhhoang1241
    @lyminhhoang1241 8 лет назад +1

    Sorry I'm a beginner. Is the language using C++?

    • @TheCodingTrain
      @TheCodingTrain  8 лет назад +1

      This is Java with processing.org. If you want to learn start:
      ruclips.net/user/shiffmanplaylists?view=50&shelf_id=2&sort=dd

  • @riyayadav2770
    @riyayadav2770 5 лет назад

    and for coding are you using pyserial or something else

  • @ankitagrawal4792
    @ankitagrawal4792 6 лет назад

    Hey man nice Video!
    Can you help me in getting depth data from depthmaps in python , I mean the depth values from depthmap matrix.
    Thankyou!

  • @artturielovirta7785
    @artturielovirta7785 5 лет назад

    Thank you for the great tutorials. Im trying this with version 2 and it just keeps outputing this from console [DepthPacketStreamParser::onDataReceived] subpacket too large . can you help?
    tryed to to find problem and found this : github.com/shiffman/OpenKinect-for-Processing/blob/master/build_openKinect2/C%2B%2B/libs/protonect/src/depth_packet_stream_parser.cpp ?

  • @bhanuprasaddharam1223
    @bhanuprasaddharam1223 3 года назад

    can anyone guide me how to get real-world depth from kinect xbox 360 v1 using python or atleast mathematics since i cant understand java or c++

  • @PaxiKaksi
    @PaxiKaksi 4 года назад

    Can you use it on Linux ?

  • @mirianapatera4905
    @mirianapatera4905 5 лет назад

    I need to use Kinect v1 for an exam... Can someone help me with codes?

  • @kroffie-nl
    @kroffie-nl 6 лет назад

    is this tut for mac?

  • @pkfoodzhub
    @pkfoodzhub 5 лет назад

    which language he is using ..??

  • @0oj4m1t
    @0oj4m1t 7 лет назад

    It says no kinect devices found
    I am on a windows 10 PC using a Kinect v1
    PS. i have connected it.

    • @0oj4m1t
      @0oj4m1t 7 лет назад

      fixed it

    • @톸쨩
      @톸쨩 7 лет назад

      how connecting??

    • @0oj4m1t
      @0oj4m1t 7 лет назад

      you have to purchase a adapter. here is a link- www.amazon.in/gp/aw/d/B01EYNY5YU/ref=mp_s_a_1_2?ie=UTF8&qid=1493259827&sr=8-2&pi=AC_SX118_SY170_FMwebp_QL65&keywords=kinect+adapter

    • @matthewrice7590
      @matthewrice7590 7 лет назад

      How did you fix it?

  • @tifaahmed8329
    @tifaahmed8329 7 лет назад

    where the c++ or c# code for this work

  • @001zeal
    @001zeal 7 лет назад

    I keep getting "No device connected" , on windows.
    However , the kinect toolkit works properly,

    • @joelmathew794
      @joelmathew794 7 лет назад

      my error was plugging the kinect adapter into a usb 3.0 port

  • @riyayadav2770
    @riyayadav2770 5 лет назад

    it is showing me syntax error again and again

  • @florallll
    @florallll 3 года назад +1

    kinect.initDevice(); -- The function initDevice() does not exist.

  • @jordanheinemann6633
    @jordanheinemann6633 7 лет назад

    None of it works I'm so upset. :(
    Tried it and told me there were no kinects.
    Then I tried installing libusbK drivers.
    Failed.
    I'm sad.

    • @joelmathew794
      @joelmathew794 7 лет назад

      i found that i had plugged the kinect into a usb 3 port, maybe that could be your error as well

    • @bereketyisehak5584
      @bereketyisehak5584 5 лет назад

      @@joelmathew794 I have connect it to USB 3 port, and it isn't working too.

  • @0oj4m1t
    @0oj4m1t 7 лет назад +1

    The image is not like yours, it shows 2 of everything, the quality is poor, and it is just white & black, no grey.

  • @luiseevamaria4728
    @luiseevamaria4728 8 лет назад

    somehow the picture on my kinect v1 looks diffrent... anyone similar expirience?

    • @sircarabhinav3559
      @sircarabhinav3559 7 лет назад

      mine is teh same problem. i see two images.. how did u solve teh problem ?

  • @R00kTruth
    @R00kTruth Год назад

    Lieees... okay maybe not lies, I couldn't figure out at first how to import the modual/lib, that I couldn't find through your
    link, I had to Google for it, then it told me I didn't have the driver installed...
    so, I am going to be doing this in python cv2/pygame...the joys of Linux haha.
    there is alot of information out there, but that is all it is? information, there isn't any guides.
    many people just pasted commands 'Do this', then you find you've installed the drivers to your home dir...
    then having to Link them Ln!
    The apps don't give much information, also they've bundled the ir sensors as one...
    I don't know if they can be programmed as All / individuals because this could make alot of
    stuff much easier, As I had something standing infront of the (ir sensors)kinect and only a small portion
    of the kinect on show, it actually gave me perfect image of what I would want to achieve without the stacked for loops.
    it showed myself, with no interference from lights/objects behind me/ the dreaded wall lol.
    anyways tha k you for this series, I do hope you do another on this topic.
    I'm going to get back to it, chooochooo as one would say

  • @benjigogan9350
    @benjigogan9350 9 лет назад

    I'm having problems getting this to run in windows 10, anyone else having problems ?
    Made Progress,
    Used the example from www.magicandlove.com/blog/research/kinect-for-processing-library/

    • @TheCodingTrain
      @TheCodingTrain  9 лет назад

      +bbb enjo are you using a v1 or v2 kinect? Feel free to file any bugs here: github.com/shiffman/OpenKinect-for-Processing/issues For v2 I would also recommend github.com/ThomasLengeling/KinectPV2

    • @joseismaelgraca7482
      @joseismaelgraca7482 9 лет назад

      +bbb enjo As I answered to deepank verma : "I´m on windows too, windows 10 to be more precise. I didn´t understand what was the solution (if any at this moment) for your problem "The function kinect.initDevice() does not exist". I've the same problems with a kinect 1414 and when I run RGBDepthTest.pde processing version 3 it shows no response."

  • @ambientsoda106
    @ambientsoda106 6 лет назад

    I'm using a PC, and I think the Open_Kinect library is only for Mac, so how do I use the Kinect_v2 library?
    As I did the above but processing says my 1414 there are no kinects...

  • @fiattypanich1306
    @fiattypanich1306 8 лет назад

    kinect.initDevice();........it says "this function does not exist" while i've installed all library and OpenNi? . it would be highly appreciated if you could kindly suggest me the answer for this matter. sincerely.

    • @TheCodingTrain
      @TheCodingTrain  8 лет назад +1

      +Fiatty Panich For v1, you don't need that function. Hoping to get updated examples for v1 linked in the description this week.