[ANSWERED] skeleton decoder value reset on enter scene
-
Hi!
I'm tracking skeletons with a xbox 360 kinect and the openni actor. I am building an interactive installation that will trigger when a skeleton is recognized. Once the skeleton leaves, it will jump back to the first scene.
My problem is the skeleton tracking values don't seem to reset when leaving the scene. This causes the interactive elements to initialize in their last state instead of starting fresh.
I want the transition between scenes to be smooth and then for the interactivity to emerge. Is there a way to intialize the skeleton tracking values at 0?
I've attached my basic project file. It's rough, sorry for the mess.shout-projection-04.2024.izz
-
Hi Alex,
You could probably do all this in one scene, which would fix the issue of data getting stuck in the Skeleton tracking system. also, entering a new scene restarts the OpenNI Tracker, which i try to avoid, wherever possible. If you feel you need to use multiple scenes, you could run the Kinect-Skeleton stuff in a background scene and send data through to the main scenes using Broadcaster/Listener actors.
As its for an installation, there may be an issue where the OpenNI actor gets a bit full as more people pass through. I know that you have it set to forget skeletons immediately when someone leaves the space, but sometimes the system hangs on to the data, just in case someone comes back and it can recognise them straight away. its worth testing with a large number of people - you may need to trigger the reset function when the number of new people reaches 6 or 8 or something. i think the 'bodies internal' count is the one that reflects this.
hope you are well, last week i designed a pull-up banner and some screen ads around a photo of you, Marianna and Efrat, all looking moody under a streetlight.
best, john -
Hi,
My advice would be similar to John. Only to add that you can also use the depth camera feed to calibrate a fade-in and out based on the distance from the Kinect you want the participant to be tracked. You can define a tracking zone and trigger a change or cross fade based on that proximity. It works with a Calc Brightness module.
Best wishes
Russell
-
@dbini said:
If you feel you need to use multiple scenes, you could run the Kinect-Skeleton stuff in a background scene and send data through to the main scenes using Broadcaster/Listener actors.
This is always my approach