• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    Setting OpenNI Kinect range threshold

    Troubleshooting and Bug Reports
    2
    4
    81
    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.
    • N
      nic Beta Tester
      last edited by

      Hi all,

      I’m currently using the OpenNI actor with Kinect and wondered if it’s possible to set a threshold distance for skeletal detect? I can see there’s a Max/Min depth, which can exclude bodies further than a set distance (i.e. I can see that recognised bodies start to lose their colour intensity beyond the set distance); however if someone (or something) is beyond this threshold, the Kinect still recognises and assigns a skeletal form, visible on screen if draw skeletons is checked.

      This is problematic for installations with background clutter that is mis-recognised as a body. It ‘steals’ the skeleton that a participant would ordinarily be assigned.

      Thanks,

      Nic

      WolandW 1 Reply Last reply Reply Quote 0
      • WolandW
        Woland Tech Staff @nic
        last edited by

        @nic said:

        wondered if it’s possible to set a threshold distance for skeletal detect?

        I don't think so (and unfortunately it's not our code so I don't think it's something we can change), but what you could do is use the Skeleton Visualizer actor to show the skeletons instead of the built-in 'draw skeletons' and then use Skeleton Decoders + Comparator actors to make logic that fades out any skeleton if, for example, the torso's z value (depth) exceeds a certain number (compare mode 'ge' with Comparator's 'value1' connected to the Skeleton Decoder and the 'value2' set to whatever value you determine is adequate for the cut-off). You could also use the same principle, but instead of 

        I did build something to fade out the video if only a skeleton is showing, but I came back and realized that I'd misread your post, so I solved a problem you actually don't have. Here it is anyway, in case any of it is useful: https://www.dropbox.com/scl/fo/u5qdfla1s485qij3uw45c/h?rlkey=1rc6eg9j63z53nhahyu2wowg7&dl=0

        TroikaTronix Technical Support
        New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
        TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
        TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

        | Isadora 3.2.6 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

        N 1 Reply Last reply Reply Quote 1
        • N
          nic Beta Tester @Woland
          last edited by

          Thanks @woland, yes, I guessed it might be a hardwired bit of processing taking place in the Kinect itself. The sensor isn't perfect but I guess it's the best there is, particularly considering the price. Is there any other skeletal tracking system that you've come across recently? I'm still using the Kinect 1 and 2, but noticed some artists are using the Azure. Wondering if there is any advantage from a false-tracking point of view, apart from resolution being better?

          WolandW 1 Reply Last reply Reply Quote 0
          • WolandW
            Woland Tech Staff @nic
            last edited by

            @nic

            I haven't worked with the Azure so I can't speak to that.

            TroikaTronix Technical Support
            New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
            TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
            TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

            | Isadora 3.2.6 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

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