How to Quickly Calibrate Sensor Data in TouchDesigner (Tutorial)

  Рет қаралды 7,562

The Interactive & Immersive HQ

The Interactive & Immersive HQ

4 жыл бұрын

Get access to more content like this - including 200+ hours of TouchDesigner video training, a private Facebook group where Elburz and Matthew Ragan answer all your questions, and twice-monthly group coaching/mastermind calls - here: bit.ly/2zJ0lmt
If you’re a TouchDesigner Beginner, check out our TouchDesigner Tutorial Series! We teach you all the basics of how to use TouchDesigner, including mouse controls, hotkeys, parameters, the operator families, and more: interactiveimmersive.io/touch...
Sensors output a lot of data. Kinects, Leap Motions, and touchscreens all output a wide range of data and tracking regions. The reality of our industry is that we often only need a small region of interest within that larger sensor space. This may seem complicated at first, but there are some easy ways of approaching it using some of the standard tools you have available to you in TouchDesigner. This includes finding calibration ranges with Trail CHOPs and Analyze CHOPs, normalization with Math CHOPs, and clamping with Limit CHOPs. With these few techniques you'll be able to quickly and easily calibrate your sensor data to track a portion of your sensor data in TouchDesigner.

Пікірлер: 37
@vendavalstudio
@vendavalstudio 2 жыл бұрын
impecable tutorial. simple, quick, very helpful, thanks
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 2 жыл бұрын
Thanks Emilio! Our pleasure :)
@alexeyyakukin8679
@alexeyyakukin8679 4 жыл бұрын
Very nice and smart.. unique info I was looking for.. thanks a lot, Elburz =)
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 4 жыл бұрын
No problem! Glad it was just the info you were looking for :)
@gregderivative2647
@gregderivative2647 4 жыл бұрын
That's a good practical calibration technique.
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 4 жыл бұрын
Thanks, Greg! It's a great and easy technique anyone can use to normalize and grab a region of interest from a sensor, definitely a good technique to keep in the back pocket.
@PabloLucio
@PabloLucio 3 жыл бұрын
Genius trick, as usual. Having your knowledge on this matter must be crazy. Someday I'll get to work with you!
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
Haha you probably have lots of tricks that I'd love to learn as well!
@PabloLucio
@PabloLucio 3 жыл бұрын
@@TheInteractiveImmersiveHQ I've recently started with TD, but I am learning fast. Doing some experiments with Arduino and some sensors, this far. I hope that soon you'll hear of me! Thanks for your videos, Elburz :)
@jbach
@jbach 4 жыл бұрын
Awesome advice.
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 4 жыл бұрын
Glad you think so too! I use these kind of simple tricks all the time.
@0pict152
@0pict152 4 жыл бұрын
This is really helpful!
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 4 жыл бұрын
Glad it was helpful! It's easy for us all to over complicate systems and processes, so it's always refreshing to simplify stuff with the tools we have readily available.
@elenatilli9332
@elenatilli9332 4 жыл бұрын
Locking the Trail is vital. I didn't set it and it wouldn't work as soon as the mouse would stay still in a position for the whole trail time length. Thank you for the add.
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 4 жыл бұрын
I usually lock the trail since my sensor and interaction areas dont move, and once you do that after a quick calibration, you're good to go!
@gregderivative2647
@gregderivative2647 4 жыл бұрын
I did something like this for a children's exhibit where they were moving a wand in their hand. Because kids of different height were using it, the Trail was never locked, but each Analyze CHOP was sent into a Lag CHOP with (on the maximums) a quick rise and a very long drop (30 seconds), to adapt to a changing area of interest. I'll Snippet it.
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 4 жыл бұрын
Awesome point. Folks can also leave the trail unlocked and it will continuously auto-calibrate based on their range of motion of the person in the sensor's view, and having the Lag CHOP helps make the transitions between those calibrated values smoother.
@atlasg7505
@atlasg7505 Ай бұрын
Thanks
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ Ай бұрын
Our pleasure! Thanks for watching :)
@chelseanetzband2020
@chelseanetzband2020 3 жыл бұрын
Hey, This tutorial is great, however, I have a question regarding how we can use this setup or a similar one to connect a microphone sensor from an arduino to control sound coming in that will drive the visuals. Is this something you can help with?
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
This technique may or may not be as helpful with audio signals, the section with Analyze CHOPs would be useful. If you're looking for more personalized help getting that setup, I'd highly recommend checking out our HQ PRO program: interactiveimmersive.io/lp/hq-pro-full-trial/
@lishu9120
@lishu9120 3 жыл бұрын
Hey, this tutorial is great! When I use the mouse in chop, it works. but I'm reading the data from a laser sensor. when I try to use math chop to read the range, I got a mistake that said: float() argument must be a string or a number, not none type. any thoughts? maybe I did something wrong with how to denoise the sensor date, but I don't know how to fix it.
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
It sounds like if you're using a reference in the Math CHOP that isn't working if you maybe changed the operators in the network. What do you have in the parameters for it?
@ting6753
@ting6753 3 жыл бұрын
Thanks for your helpful video. Can I connect something else instead of mouse?(I want to exchange a code that written in c++ to select range in cam)
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
Absolutely, you can connect any CHOP signal to the same system. It could be a mouse, kinect, leap motion, VR controller, or anything! That's the great part of simple workflows like this one, they are very flexible.
@ting6753
@ting6753 3 жыл бұрын
@@TheInteractiveImmersiveHQ Awesome!!!
@TheLiveSquare
@TheLiveSquare 3 жыл бұрын
this is great, thanks! what I am trying to decipher is that with leap motion, the sensor values for tx for example has a range of -0.4 to 0.7, and when converted the way you've shown, the range works. but when I move my hands away, it defaults to an average value of 0.46. how do I keep my default value to zero when my hand is not on the leap motion, and translate the rest of the values as per the math when I move my hands? hope I could explain the problem.
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
Hmm that's a bit of a tricky one. I'm not sure there's an easy-off-the-shelf solution I could explain in a comment. Do you happen to be in The HQ PRO? If so, we can help you there build up a few examples of this could be done.
@TheLiveSquare
@TheLiveSquare 3 жыл бұрын
@@TheInteractiveImmersiveHQ thanks, yeah I suppose that's a challenge. I tried using several methods, but none of them worked in my knowledge...just testing the waters playing around. Sorry not in HQ pro yet, maybe will be when im a bit more pro ☺️
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
​@@TheLiveSquare No need to be a pro to join The HQ PRO, it's great for artist and developers of all skill levels :) One way you could do this easily, but it's definitely not the best implementation is to use an Expression CHOP after your Math CHOP and set the expression to: 0 if me.inputVal == 0.46 else me.inputVal
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
That way, any time the value is at 0.46, it will be overwritten by 0 and any other value will just get passed through. Not perfect, but should be quite effective.
@TheLiveSquare
@TheLiveSquare 3 жыл бұрын
@@TheInteractiveImmersiveHQ hey Elburz thanks for getting back so quickly on this. you're right, im still noodling around but I think it is going to the point where I need to get into this seriously. I have a particular mission at hand so I think it will be really good to build some foundation and join pro to really take it up to where I want!! are you currently doing your twitch sessions as well?
@steveivanka
@steveivanka Жыл бұрын
hi, sir, if you could answer me fast i would be really thankful, i need create something interactive like, im creating agame in unity and I want to use a kinetic sensor or ldr sensor, so just as this I should be able to interact with the game in the wall, can you give me suggestion. How should do it please.
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ Жыл бұрын
The Kinect series of sensors could be a great option for this as you can get positional data of the people in front of the installation and translate that into in-game movement or triggering of functions.
Nvidia Flex Emitter and Collision Basics in TouchDesigner - Tutorial
15:06
The Interactive & Immersive HQ
Рет қаралды 7 М.
Easy Optimization Tricks in TouchDesigner - Tutorial
15:05
The Interactive & Immersive HQ
Рет қаралды 8 М.
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 105 МЛН
КАК ДУМАЕТЕ КТО ВЫЙГРАЕТ😂
00:29
МЯТНАЯ ФАНТА
Рет қаралды 9 МЛН
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 142 МЛН
Projection Mapping Tools in TouchDesigner
9:59
The Interactive & Immersive HQ
Рет қаралды 44 М.
TouchDesigner Tutorial - Denoising Sensor Data - Part 1
13:29
Ian Shelanskey
Рет қаралды 2,6 М.
Face, Hand, Pose Tracking & More in TouchDesigner with @MediaPipe GPU Plugin
29:16
Slamtec RPLiDAR in TouchDesigner
46:57
Lake Heckaman
Рет қаралды 7 М.
What’s it like being Half Japanese in Japan ?
10:04
TAKASHii from Japan
Рет қаралды 3,5 МЛН
Interactive Feedback Painting in TouchDesigner Tutorial
15:34
The Interactive & Immersive HQ
Рет қаралды 21 М.
Easy Person Detection with Blob Tracking - TouchDesigner Tutorial
13:46
The Interactive & Immersive HQ
Рет қаралды 31 М.
Real Time Weather API in TouchDesigner
36:28
Lake Heckaman
Рет қаралды 13 М.
Instance Texturing in TouchDesigner - Another TouchDesigner Tutorial
27:24
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 105 МЛН