• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    Kinect + Isadora Tutorials Now Available

    How To... ?
    28
    126
    236065
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mark_m
      mark_m last edited by

      Thanks, Marci, yes I did try that and it gave another error further down:

      Cannot find anything named kCameraInitMode
      with this line highlighted:

              kCameraInitMode = 1;  
      
      Thanks  
      
      Mark
      
      

      Intel NUC8i7HVK Hades Canyon VR Gaming NUC, i7-8809G w/ Radeon RX Vega M GH 4GB Graphics, 32GB RAM, 2 x NVMe SSD
      Gigabyte Aero 15 OLED XD. Intel Core i7-11800H, NVidia RTX3070, 32GB RAM 2 x NVMe SSD
      PC Specialist Desktop: i9-14900K, RTX4070Ti, 64GB RAM, Win11Pro
      www.natalieinsideout.com

      1 Reply Last reply Reply Quote 0
      • gapworks
        gapworks last edited by

        @Marci thank you for your added ghost imageon kinect! one more question. is there a way to smooth the ghost image. as it is ,lets call it quite nervous. apart from this it works great.

        But i had to delete the first couple of lines (all the ones with until "import...." because they created an error. an info that might be also useful to others here in this forum.
        best
        ps: and if i press 1 (case1) on my laptop it crashes my computer completely!! but i don´t need it so i just avoid it. 

        ce3869-screen-shot-2016-03-01-at-13.41.28.png

        Running MBP2017 / Ventura Osx 13.6.7 / 16 GB 2133 MHz LPDDR3 / Intel HD Graphics 630 1536 MB / Latest Isadora Version / www.gapworks.at / located in Vienna Austria

        1 Reply Last reply Reply Quote 0
        • Marci
          Marci last edited by

          Opening line should begin /* If it doesn't then it'll cause errors. /* denotes start of a comment block, */ denotes end of a comment block. Looks like a case of clumsy fingers your end I'm afraid, as the files in the repo all have it correctly in place. Pressing 1 will try to init RGB mode. If sketch not launched in RGB mode then this is expected behaviour... like I said, can't switch between IR & RGB once launched. Smoothing - add a blur actor in Isadora after syphon receiver, before however you're converting it to a mask (assuming that's what you're doing)

          rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
          Warning: autistic - may come across rather blunt and lacking in humour!

          1 Reply Last reply Reply Quote 0
          • gapworks
            gapworks last edited by

            @Marci thank you for the quick response. Blur in Isadora was my solution to solve the "Nervousness". I was just curious if there was an Option within Processing.

            best

            Running MBP2017 / Ventura Osx 13.6.7 / 16 GB 2133 MHz LPDDR3 / Intel HD Graphics 630 1536 MB / Latest Isadora Version / www.gapworks.at / located in Vienna Austria

            1 Reply Last reply Reply Quote 0
            • Marci
              Marci last edited by

              @mark_m: add... int kCameraInitMode = 6; ...at line 40. Looks like I missed defining a global variable when I did the Windows file. Soz! I presume that means you're the first to actually use the Windows files as no-one else has picked up on it! Will fix it in the repo when I get home later.

              rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
              Warning: autistic - may come across rather blunt and lacking in humour!

              1 Reply Last reply Reply Quote 0
              • Marci
                Marci last edited by

                @gapworks: lots of options in processing, canvas.filter(BLUR, 6); after line44, or something similar. See https://processing.org/reference/filter_.html or https://processing.org/examples/blur.html Ultimately, doing it in Isadora is simpler for you to maintain tho.

                rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                Warning: autistic - may come across rather blunt and lacking in humour!

                1 Reply Last reply Reply Quote 0
                • mark_m
                  mark_m last edited by

                  Hi Marci,
                  Maybe I am the only person using this on Windows!

                  So I just downloaded your updated file that you did about 1800 01 March.
                  This still has the == issue. (see above). I fix that, but now I get an error further down when I try and run the processing files

                  I don't know if this is user error or what - my programming skills sadly lacking - but when you have a mo' I'd be grateful if you could have a look

                  Cheers

                  Mark M - lone Windows user!

                  When I run the processing file the error says:
                  cannot find anything named "inUserid"
                  line 187 says

                      sendOSCSkeletonPosition("/skeleton/"+inUserId+"/head", inUserID, SimpleOpenNI.SKEL_HEAD);  
                    
                  
                  

                  Intel NUC8i7HVK Hades Canyon VR Gaming NUC, i7-8809G w/ Radeon RX Vega M GH 4GB Graphics, 32GB RAM, 2 x NVMe SSD
                  Gigabyte Aero 15 OLED XD. Intel Core i7-11800H, NVidia RTX3070, 32GB RAM 2 x NVMe SSD
                  PC Specialist Desktop: i9-14900K, RTX4070Ti, 64GB RAM, Win11Pro
                  www.natalieinsideout.com

                  1 Reply Last reply Reply Quote 0
                  • Marci
                    Marci last edited by

                    Oops - grab the latest zip from the repo... have corrected both issues. Any mention of inUserId should be inUserID

                    (Or you could just do a find and replace in Processing / any text editor)

                    rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                    Warning: autistic - may come across rather blunt and lacking in humour!

                    1 Reply Last reply Reply Quote 0
                    • Safety Catch TV
                      Safety Catch TV last edited by

                      Thanks for all the work gone in here... For Kinect tutorials which all worked for me, and here also to Marci.  Great stuff. 

                      ****
                      I also had to correct the following only mac (retina) - and lower case Id to ID but then it seems to work as it is below in sample pic.  
                      **
                      if (userList.length != 0) {

                      **

                      Garth Williams
                      garth@safetycatch.net

                      MacBook Pro Retina 15' 2015
                      OS Big Sur 11.5.2
                      16 GB 1600 Mhz DDR3 Ram
                      Intel Iris Pro 1536 MB Graphics

                      1 Reply Last reply Reply Quote 0
                      • Safety Catch TV
                        Safety Catch TV last edited by

                        5 & s key solves Ghost riddle. Brilliant!    

                        Now on Ghost and without skeleton the IR image keeps cutting out and then re-appearing.  Any ideas on why this is? Struggling to reboot it.  
                        Is Alpha Mask the best way to turn this into a mask along with an Izzy Blur to project into?  Will check the follow mask tutorial too.  Sorry for sketchy posts, am mid production with this unfortunately not getting the time it deserves to implement.  Ghost working in Processing is great, Now to turn that into a mask and i am a happy bunny for now.  
                        Many thanks for any and all help
                        G

                        Garth Williams
                        garth@safetycatch.net

                        MacBook Pro Retina 15' 2015
                        OS Big Sur 11.5.2
                        16 GB 1600 Mhz DDR3 Ram
                        Intel Iris Pro 1536 MB Graphics

                        1 Reply Last reply Reply Quote 0
                        • Marci
                          Marci last edited by

                          On ghost without skeleton there should be no IR image, just the ghost...? Do you mean the ghost keeps vanishing and re-aooearing? This will be down to OpenNI not being able to detect a user... ghost / skeleton needs as much of the entire person from feet to head in the shot as possible as OpenNI works out that a person is stood there by recognising an entire stick figure. It can’t do a tight shot where the user is only there from the waist upwards for instance... or if 50% of the person’s stick figure moves out of shot to the side. 

                          Easier way to diagnose: video your screen on your mobile phone or summat whilst it’s happening and bash it on youtube and post me the link so I can see what’s going on...
                          Could also be USB bandwidth which would cause OpenNI to drop and have to timeout & reinitialise the sensor... which sometimes it can’t do without a complete shutdown of processing / reopening the sketch. I’d only expect this to be an issue if you were using USB external disks or cameras hooked up by USB that’d start saturating your total available USB bus bandwidth.
                          And yes, alpha mask and izzy to blur...
                          At some point I’ll add a blur option into the processing sketch, but can’t give any indication as to when that may be - at the moment the bill-paying work’s having to take priority!

                          rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                          Warning: autistic - may come across rather blunt and lacking in humour!

                          1 Reply Last reply Reply Quote 0
                          • Safety Catch TV
                            Safety Catch TV last edited by

                            Ah sorry, my bad on naming issue - yes I can get ghost without skeleton, thanks to shortcut keys.

                            I think you are right as to why its not been getting the full me in shot.  I still have to work with distancing but this week am working from home, so just need to step back more.  
                            Thanks for the offer on the youtube clip review, at the moment I am struggling to get it working again where it was last night.  I saved the processing file of your Ghost code, which was working with the keys etc too, but is now just beach balling and not picking me up.  Hmmm will have to re-assess... 
                            I will get back on this when I have figured out what that could be.  
                            Could you possibly point me to that mask tutorial you mentioned?  Is it the 'how do you get a mask content to follow the mask' one? 
                            Do prioritise what you need to keep the roof over your head warm.  But all this help is much appreciated, I am no coder, so have to pick up on what language I do understand, it is like being an english tourist abroad, only I am scottish!  
                            Thanks
                            G

                            Garth Williams
                            garth@safetycatch.net

                            MacBook Pro Retina 15' 2015
                            OS Big Sur 11.5.2
                            16 GB 1600 Mhz DDR3 Ram
                            Intel Iris Pro 1536 MB Graphics

                            1 Reply Last reply Reply Quote 0
                            • Marci
                              Marci last edited by

                              Was just looking for it and can't find now. Will try n throw an example Izzy file up later this evening.

                              NB: if it cuts out and fails to start, and you end up stuck with a beachball, generally it means unplug / replugin your kinect... a resource hasn’t been correctly freed. Or, you’ve forgot to plug in the kinect PSU.

                              rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                              Warning: autistic - may come across rather blunt and lacking in humour!

                              1 Reply Last reply Reply Quote 0
                              • Marci
                                Marci last edited by

                                If all you're wanting is a ghost mask there are other ways that don't involve OpenNI / user / skeleton at all, so can accept waist up etc... and reduces USB bandwidth & CPU load. Will see what I've got in my toolbox and start a new thread for it once I've found it.

                                rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                                Warning: autistic - may come across rather blunt and lacking in humour!

                                1 Reply Last reply Reply Quote 0
                                • Marci
                                  Marci last edited by

                                  See http://troikatronix.com/community/#/discussion/2580/kinect-ghost-mask-s

                                  rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                                  Warning: autistic - may come across rather blunt and lacking in humour!

                                  1 Reply Last reply Reply Quote 0
                                  • Safety Catch TV
                                    Safety Catch TV last edited by

                                    Wow! Thanks so much. Am checking the other thread too.  Ideally wanted to use 3 or 4 instances of the ghost, and one of skeleton, as I had wanted to do something where it started in the axis centre (solar plexus) in the chest and spread from there. But will see where I get to with this first as anything approximating would be great, and I may be able to opt for bigger centralised blur etc instead for now.

                                    I would be more than happy with one scene with 2-3 adjust keys, so it can all be fired up in one sitting. 
                                    Great to have the mask IZZY set up pic too. 
                                    If I was to use separate scenes, for separate FX using the ghost or skeleton, does the signal take a while to load, and does it interfere with the process if I am not always in view of the Kinect IR sensor?
                                    As in is it better to have one complicated scene where the signal is established even if I move in and out of shot, rather than jump between scenes each of which has the set up active as needs to be, user actors etc.   
                                    Ideally I would have more complicated scenes, which a keyboard watcher can trigger between.  At the moment, having achieved skeleton, and being blown away by the possibilities of all the information received and relayed, my head nearly popped, but for this version with so little time, a ghost IR will be more than great.
                                    One issue I have is my costume - in one scene its a straightjacket, and its lighting up the IR sensor (like its alive - why I don't know!!!), but obviously my arms aren't available to provide skeleton info feed. So again I think I will have to use the ghost only feed.  I'm guessing your Kinect Ghost Mask is going to save my proverbial.  Thank you once again @Marci 

                                    Garth Williams
                                    garth@safetycatch.net

                                    MacBook Pro Retina 15' 2015
                                    OS Big Sur 11.5.2
                                    16 GB 1600 Mhz DDR3 Ram
                                    Intel Iris Pro 1536 MB Graphics

                                    1 Reply Last reply Reply Quote 0
                                    • Marci
                                      Marci last edited by

                                      Anything reflective... Buckles etc ...will reflect and scatter the infrared pattern that the Kinect projects and then detects. Use talc to dull off reflective fabrics, Vaseline to dull off metals. My glasses always cause problems like this... have to wear contact lenses if I'm working with Kinect.

                                      rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                                      Warning: autistic - may come across rather blunt and lacking in humour!

                                      1 Reply Last reply Reply Quote 0
                                      • Safety Catch TV
                                        Safety Catch TV last edited by

                                        Aah, smart thanks for the tip.  It may work in my favour if I can get it to read blob and use IR when I am not in it.  Thanks Dude.

                                        Garth Williams
                                        garth@safetycatch.net

                                        MacBook Pro Retina 15' 2015
                                        OS Big Sur 11.5.2
                                        16 GB 1600 Mhz DDR3 Ram
                                        Intel Iris Pro 1536 MB Graphics

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          crnee last edited by

                                          Hi!

                                          Thank you for great work you do!
                                          Following the tutorial I ran into a problem running Processing file on Mac
                                          Error says:
                                          "The method enableUser(int) in the type SimpleOpenNI is not applicable for the arguments()"
                                          What is the problem here?
                                          Igor
                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            Bunker last edited by

                                            Having trouble linking my kinect to my mac. After I hit run in processes this is what happens.
                                            I'm very new to this. If anyone can help I would really appreciate it.

                                            086a7a-screen-shot-2016-04-12-at-2.52.42-pm.png 2e7317-screen-shot-2016-04-12-at-2.52.55-pm.png 83582f-screen-shot-2016-04-12-at-3.44.36-pm.png

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post