Easy Person Detection with Blob Tracking - TouchDesigner Tutorial

  Рет қаралды 31,432

The Interactive & Immersive HQ

The Interactive & Immersive HQ

Күн бұрын

Get access to 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...
We all know about the complex and expensive types of hardware we can use to track people in a space. But often times we don't really need that level of fidelity or have the budgets for that type of hardware. More often than not, installations just need a simple trigger to detect the general presence of a person and that can be done in with nothing more than a simple webcam. In TouchDesigner, we can get a system like this up and running with the Blob Track TOP.
More tricks for working with the Blob Track TOP: interactiveimmersive.io/blog/...

Пікірлер: 63
@kellywarner3748
@kellywarner3748 2 жыл бұрын
Excellent and concise tutorial, thank you as always, Elburz!
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 2 жыл бұрын
Thanks, Kelly! Glad you enjoyed it!
@siyuchouchou
@siyuchouchou 3 жыл бұрын
Great tutorial, easy, clear, seems low tech but super practical for many situations.
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
Thanks! Always good to have a few easy tricks like this in your toolkit in case the fancier tools don't work :)
@critchee
@critchee 2 жыл бұрын
A Superb presenter and concise explanations that make sense to a newbie! You have just answered so many questions I had about a project I am pitching...
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 2 жыл бұрын
Thanks for the kind words! Glad it worked.
@elsadonovan653
@elsadonovan653 3 жыл бұрын
really helpful! thank you
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
Our pleasure!
@unveil7762
@unveil7762 3 жыл бұрын
Man you just save me TONS of hours...
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
That is music to my ears!!! Glad it was helpful and useful info. A lot of things in TouchDesigner can often take long if you take roundabout ways to solve problems, but if you know the little tricks, even hard things become very straight forward and intuitive :)
@sulavtechh3028
@sulavtechh3028 Ай бұрын
and thankyou so much for your video
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 28 күн бұрын
Our pleasure! Thanks for watching :)
@nicholascorey4096
@nicholascorey4096 2 жыл бұрын
Love the video you are a great presenter!!!! Im trying to use this but instead of the amount of blobs as information I need to use the U and V coordinates. Do I just need to change the script in the constant or am I totally off base lol.
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 2 жыл бұрын
Sure, you're definitely not off base! In the table we pull data from there is also UV co-ordinates, so if you change which cell you're targeting with your expression, you could make a bunch more channels to grab the UV co-ords of the different blobs.
@adaferraramirenzi3269
@adaferraramirenzi3269 5 ай бұрын
clean
@delaramzarnegar3735
@delaramzarnegar3735 2 жыл бұрын
This tutorial was perfect but could you just please explain how to do have a timer chop for light detection ?
@mush_AV
@mush_AV 4 ай бұрын
Really helpful tutorial Elburz thanks, would love to know how to increase the resolution of the tracking overlay without losing image quality
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 4 ай бұрын
A good option for that would be to use the data from the connected blobtrack1_blobs DAT for instancing geometry, which you could then composite over top of the original input texture. You can see an example of how this might function in the Blob Track TOP OP Snippet called "Track Warping Blobs" (right click on the Blob Track TOP -> OP Snippets to check it out). Hope that helps!
@darinbasile6754
@darinbasile6754 3 жыл бұрын
That’s clever. Thank you! Edit: Wonder if using the cache TOP would make a better background filter for the video feed?
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
Great idea! You could definitely use a Cache TOP, it really depends on how stable your background is. If you're finding you need to program in more regular background snapshots that'd be an easy operator to control for that.
@darinbasile6754
@darinbasile6754 3 жыл бұрын
@@TheInteractiveImmersiveHQ Thanks!
@by.daekeryyy
@by.daekeryyy Жыл бұрын
i have a macbook pro m1, is there anyway to do this on mac? using a different device (not kinect) for tracking.
@hanjihye9a
@hanjihye9a 2 жыл бұрын
Thank you for the tutorial! Is there a way to track it with text instead of boxes?
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 2 жыл бұрын
The box is representative of a blob in this case but you can turn off the bounding box drawing, then use the data outputs from the Blob Track TOP to track whatever you like along it.
@20kvm
@20kvm 6 ай бұрын
Thank you! Great tutorial! I was wondering if it's possible to change the width of the blob tracking squares? Like the lines of the squares themselves? I want to achieve a look of CCTV tracking people. So the output of the blob tracking is enough for me :)
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 6 ай бұрын
Unfortunately you can't adjust the thickness of the blob outlines via the Blob Track TOP itself, but it does provide the UV coordinates for the boxes in the blobtrack1_blobs DAT which you could use with an instancing setup. By assigning a Line material to the geometry COMP, you could control the thickness of the lines rendered. Hope that helps!
@jdiezastronomy
@jdiezastronomy 3 жыл бұрын
Hi! Great tutorial! Thanks! I wonder if there is a way to detect with a webcam someone coming from far to close? A basic set up; you have an image. Someone appears and comes close to the webcam and the image zooms in.If he goes backwards or comes out, the image goes back to full size screen.
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
It depends on how clean the environment and camera feed is. Like I did in the video, one thing you could try to use is the size of the blob as a form of detecting how close someone is to the camera and use that to control zooming into the camera and zooming back out. Have you tried something like that?
@jdiezastronomy
@jdiezastronomy 3 жыл бұрын
@@TheInteractiveImmersiveHQ Hi Elburz! I was wondering if I have to buy a proximity sensor or with the blobs can do it¿? I'll try! Thanks a lot! Your tutorials are great Man!
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
@@jdiezastronomy Thanks for the kind words! Proximity sensor or depth sensor (like Kinect or Realsense) would definitely be much easier and give more accurate results, but to try to save money you can try using blob size and see if that works to an acceptable level.
@jdiezastronomy
@jdiezastronomy 3 жыл бұрын
@@TheInteractiveImmersiveHQ I have an Art installation this summer in a gallery. For that I'll look for a proximity sensor. But right now, the blob seems good to try. What's the best to control zoom in/out in a hi res still -or video-;just a TOP transform? I work with stills and video only, not 3D stuff.Thanks again!
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
@@jdiezastronomy It sounds like Transform TOP should work great. Alternative would be to have a Constant TOP going into an Over TOP, and then you can connect your video feed into the Over TOP as well and composite it onto the constant that you set to your canvas resolution. Then on the Over TOP you can use the Scale parameter and transforms for move it around and scale it.
@abbasjanahmadi1216
@abbasjanahmadi1216 Жыл бұрын
great Idea, Bravo man. what if i want to play a video when a person detects by webcam? thanks.
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ Жыл бұрын
Hey thanks! You could take the detection CHOP channel that we create and make a CHOP reference to the Play parameter of a Movie File In TOP - that way, when a person is detected, the movie will play, and when no person is detected, it will stop. Hope that helps!
@donovan5618
@donovan5618 3 жыл бұрын
Thank you for another awesome video Elburz! I am curious, what PC are you using - more specifically CPU/GPU?
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
Our pleasure! I'm mostly working on an Origin Eon 15 Slim laptop from about 2015. It has a Geforce 970M and an i7-6700HQ. I'm due for an upgrade in 2021, mostly just waiting to see Geforce 30xx series roll out to laptops.
@donovan5618
@donovan5618 3 жыл бұрын
@@TheInteractiveImmersiveHQ thank you so much ✌🏾
@borjonx
@borjonx 3 жыл бұрын
@@TheInteractiveImmersiveHQ Thank you Taylor for the question, and Elburz for the answer!! That is wonderful for us noobs to hear - TD is not out of reach!! thank you so much for the software & tuts.
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 3 жыл бұрын
@@borjonx yup, I remember when I started learning TouchDesigner I was using a 15" Macbook with a 330M geforce card, and I would run full live shows on it (although slightly laggy), so you can definitely get a lot of experimenting and learning done on weaker hardware before needing to invest too much money :)
@nicolasshore3458
@nicolasshore3458 7 ай бұрын
Amazing video! Is there a way to increase the thickness of the squares?
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 7 ай бұрын
Thanks! You can't adjust the thickness via the Blob Track TOP itself, but it does provide the UV coordinates for the boxes in the blobtrack1_blobs which you could use with an instancing setup. By assigning a Line material to the geometry COMP, you could control the thickness of the lines rendered. Hope that helps!
@cydiahacker3971
@cydiahacker3971 2 ай бұрын
thank you for your help, however currently having an issue where as the NDI In does not show any sources, even including my built-in webcam. Do you possibly know how to fix this?
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ Ай бұрын
To access the webcam directly in TouchDesigner, you can replace the NDI In TOP with a Video Device In TOP. Hope that helps!
@omiddabir8383
@omiddabir8383 4 ай бұрын
thanks for your useful information, which kind of sensors do you prefer for making interactive wall(video mapping)?, my area has 5m width and 3m height. i would be thankful if you help me.
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 4 ай бұрын
There are a lot of options for this, but it really depends on what kind of interaction you're looking to achieve! If you're looking for full body tracking, you might have a look at the Kinect Azure or the Femto Bolt www.orbbec.com/products/tof-camera/femto-bolt/ (fully compatible with Kinect Azure TOP/CHOP). You could also try a software-based approach using some of the built-in Nvidia body tracking operators like the Body Track CHOP, although you'd need 20, 30, or 40 series Nvidia RTX GPU.
@omiddabir8383
@omiddabir8383 3 ай бұрын
I don't need full body tracking, just making touch screen on the wall or floor. I mean making piano on the floor and when stand on a key it makes a sound. It is clear example of sensor that i looking for.
@ChildeErick
@ChildeErick 26 күн бұрын
Hi thank you for your tutorial. Is it possible to use blob tracking to track the moon in the sky? I'm kinda worried about the clouds
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 22 күн бұрын
Haven't tried this one, but it seems possible (although might be a bit difficult)! It would probably be highly dependent on the moon phase and the amount of clouds. That said, processing the webcam image with a threshold or similar filter before using the Blob Track TOP might help balance out some of the impact of the clouds, since you could be filtering out all parts of the image below a certain brightness level.
@Jake_Fountain
@Jake_Fountain 3 жыл бұрын
Lol good iconic controls Monaco’s comics
@raffaelecapone8373
@raffaelecapone8373 2 жыл бұрын
Hi, i have a problem, ndiIN has no camera as Source Name, i can't choose anything,why this is happenin? any idea i can solve this? any help wpuld be great! thanks a lot
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 2 жыл бұрын
Hi Raffaele, do you have NDI sources available on your network? If not, you can replace that with a Video Device In TOP and that will let you plug in your webcam instead to the same process.
@deadicegaming5593
@deadicegaming5593 2 жыл бұрын
Can someone point me to a video of how to use touch design to use a shadow to projection map my goal is to put a camera underneath a table with a very thin whiteboard and so it will cast a shadow into a camera and then that camera will use that shadow to give live projection mapping around that shadow if you guys can understand what I’m trying to do
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 2 жыл бұрын
Great project! It's a bit too much to dive into in KZfaq comments but what I'd recommend is making a bullet point list of all the features, and then make more sub bullet points that describe every single step needed for each of the processes, then if you can even make further subbullets, you'll naturally end up low-level enough that it will be a lot easier to convert those bullet points into a TouchDesigner network of small operations that add up into the larger functionality.
@klaudiapacharew9844
@klaudiapacharew9844 2 жыл бұрын
Hello! any pointers of the same effect with object tracking?
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 2 жыл бұрын
Sure! There's lots of ways you could approach object tracking. Some folks find the easiest way is to use some kind of infrared reflective paint on an object, then if you shine an IR light in the environment and use an IR camera to watch the room, you'll only see the objects you've painted light up and most other things will just be black. That way you can then feed into a similar blob tracking setup.
@s.o.s.l.o.w
@s.o.s.l.o.w Жыл бұрын
there is a way to make visible the info numbers of the blop on the screen?
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ Жыл бұрын
Assuming you're wanting the number to appear alongside each blob, yes, it is possible, but it's not the simplest thing to set up. You could approach this in two ways, via using the Table DAT option for the Text TOP to draw text at certain positions (which you'd have to calculate via the UV positions of each blob) or using instancing, and specifically texture instancing to draw each number at different positions on the screen. It's worth checking out the OP Snippets for the Blob Track TOP (which you can access by right clicking on the TOP and then clicking OP Snippets), specifically the example named "track warping blobs". This example shows you how to use instancing to overlay geometry onto the tracked blobs. Hope that helps!
@s.o.s.l.o.w
@s.o.s.l.o.w 11 ай бұрын
Exist a way to join the blops whit lines?
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 11 ай бұрын
It's possible, but it would take some work to make happen. It would require some calculation based on the blobtrack#_blobs DAT table that gives the position/scale of the blobs. You could calculate the position, scale, and rotation of each line, and then use instancing to generate the geometry. Once rendered, the texture could be composited with the output of the blobtrack TOP. Hope that helps!
@niknaim00
@niknaim00 2 жыл бұрын
I am trying to do a blobtracking in a church. I managed to set up two infrared cameras in the curch an stiched them together. Also I setuped 4 infrared lights, all at 8 m height from the top. But my tracking results are not very good. What am I doing wrong? Or is it the light setup, that is not good? I also tried using blur and threshold like you explained in your youtube-video, but it stills doesnt make it better. Here is an exemple video of the tracking: kzfaq.infoLXBLTACzUJ8
@TheInteractiveImmersiveHQ
@TheInteractiveImmersiveHQ 2 жыл бұрын
It doesn't look too bad! I think what you need is more contrast to make a difference between the ground/environment and the person moving in the environment. You could also try doing some background subtraction as well, taking a still image of the floor/environment without anyone in the scene and then subtract that from the live video signal feeding into the blob tracking setup.
@niknaim00
@niknaim00 2 жыл бұрын
@@TheInteractiveImmersiveHQ Thanks for your ideas. Indeed in the meantime I did exactly this, used the backgroundsubraction and then blurred it out. Makes it much better. My big new task is now th light from outside. Beeing in the church yesterday I noticed, that there is a time in the evening, when the sunnlight falls in. A real killer for my background image. :( Thinking of looking at the difference image an as soon it goes over a certain threshold it resets the background image. Lets see. Or do you have another idea? Another point is, how can I keep the position of blobs in the the blob table. E.G. Blob 1 comes in (position is in tablerow 1). Blob2 comes in ( (position is in tablerow 2). All good. But as soon as Blob 1 dissapears, Blob two goes to tablerow 1 and I have some problem for my further processing.
Early 2000s-style Glitch / Net Art In TouchDesigner - Tutorial
25:46
The Interactive & Immersive HQ
Рет қаралды 30 М.
Face, Hand, Pose Tracking & More in TouchDesigner with @MediaPipe GPU Plugin
29:16
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 10 МЛН
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 74 МЛН
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 32 МЛН
Cool Items! New Gadgets, Smart Appliances 🌟 By 123 GO! House
00:18
123 GO! HOUSE
Рет қаралды 17 МЛН
Tracking motion without a Kinect - Quick Tips TouchDesigner EN
5:16
Benjamin Carrier
Рет қаралды 52 М.
Easy Feature Tracking with Script TOP and OpenCV in TouchDesigner - Tutorial
15:38
The Interactive & Immersive HQ
Рет қаралды 24 М.
Grilla interactiva 2 / HOLO - Eric Prydz / VFx
38:59
Tolch
Рет қаралды 19 М.
Interactive Particles using particlesGpu in #touchdesigner
31:33
Function Store
Рет қаралды 75 М.
Blob Track TOP in TouchDesigner
4:42
Scott Allen Visual Art
Рет қаралды 24 М.
Quick & Easy Alpha Mattes in TouchDesigner - Tutorial
14:43
The Interactive & Immersive HQ
Рет қаралды 13 М.
Tutorial 1/3 - New Body Tracking Plugin for TouchDesigner - No Kinect Needed
21:18
Slamtec RPLiDAR in TouchDesigner
46:57
Lake Heckaman
Рет қаралды 7 М.
Trace and Blob Tracking Effect with TouchDesigner
18:26
Dean Cheesman
Рет қаралды 6 М.
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 10 МЛН