Home Creators Posts Import Register Favorites Logout

Downloads

Content

You might be familiar with simple motion detection techniques in TouchDesigner using nothing but a webcam, but what if you also wanted some direction information? Using the Optical Flow and some CHOP processing we can get a relatively clean signal of the general direction of movement (Left/Right/Down/Up), for very cheap in all regards - no blob tracking or OpenCV needed. We can then use these signals to trigger things based on the general direction of motion in the input, or control motion based on these directions.

Files

Directional Motion Detection and Tracking using Webcam in TouchDesigner #touchdesigner #tutorial

You might be familiar with simple motion detection techniques in TouchDesigner using nothing but a webcam, but what if you also wanted some direction information? Using the Optical Flow and some CHOP processing we can get a relatively clean signal of the general direction of movement (Left/Right/Down/Up), for very cheap in all regards - no blob tracking or OpenCV needed. We can then use these signals to trigger things based on the general direction of motion in the input, or control motion based on these directions. PSA: The particles you see on the right in the beginning were based on this tutorial/series: https://www.youtube.com/watch?v=0ym50KEXi48 Patreon: https://www.patreon.com/function_store Follow me: https://instagram.com/function.str https://www.facebook.com/functionstore --- 00:00 - Intro 01:10 - Technique 13:51 - Parameters 14:55 - Outro

Comments

huang bin

为什么不行,没有调用摄像头

Radu Buia

Noob question, How do I attach your component to a particle GPU for example, or other visuals? I'm new to this, I tried to figure it out without success :(

Function Store

Hey. Depends on the visuals. Please check out my interactive particlesGpu tutorial on YouTube, I use this component there in the section 'webcam interacrivity'

DJ

Does the .tox file also include the particles?