• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [ANSWERED] Optical Flow simulation

    How To... ?
    4
    10
    1493
    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.
    • RIL
      RIL last edited by Woland

      Hello everyone ! I wonder if it is possible to achieve motion tracking the way Touch Designers uses OPTICAL FLOW? Of course leaving aside the Kinect or other depth cameras.

      It seems to be something very straight foward this optical flow operator in Touch Designers but I always prefer Isadora!
      Eyes Actor +? (possible scenario: an installation where the audience manipulates the projection of a system of particles)
      Thanks friends !
      RIL

      Red Isadora Latina | redisadoralatina.blogspot.com | redisadoralatina@gmail.com
      page facebook.com/Red-Isadora-Latina-1319037108171197/ | Group https://www.facebook.com/groups/315960249155308/
      MacBook Pro 2015 High Sierra. Isadora 3.2
      MacBook Pro M3 Pro Sonoma. Isadora 4.1

      Juriaan 1 Reply Last reply Reply Quote 0
      • Juriaan
        Juriaan Tech Staff @RIL last edited by Juriaan

        @ril

        Not as efficiently as they are doing with TD. Since they have a partnership with Nvidia who makes the SDK "Optical Flow"

        EDIT:

        Please see Fred's answer for a more detailed answer about this; you can do this thru other means on the CPU with Isadora.

        Isadora 3.1.1, Dell XPS 17 9710, Windows 10
        Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
        Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

        RIL Fred 2 Replies Last reply Reply Quote 2
        • RIL
          RIL @Juriaan last edited by

          @juriaan Thanks for your answer !

          I think the difficult thing is getting a good sensing device that works well and doesn't crash. Kinect would be our best option for now, right?

          Best, 

          Maxi-RIL

          Red Isadora Latina | redisadoralatina.blogspot.com | redisadoralatina@gmail.com
          page facebook.com/Red-Isadora-Latina-1319037108171197/ | Group https://www.facebook.com/groups/315960249155308/
          MacBook Pro 2015 High Sierra. Isadora 3.2
          MacBook Pro M3 Pro Sonoma. Isadora 4.1

          1 Reply Last reply Reply Quote 0
          • Fred
            Fred @Juriaan last edited by Fred

            @juriaan optical flow is a very old technique not owned by Nvidia at all. It is not a complex algorithm and can be found in many open source libraries and there is a great implementation in openCV. 

            The touch designer optical flow is not the result of a partnership, just that touch designer uses the Nvidia SDK (https://developer.nvidia.com/optical-flow-sdk) which any company can do, including Troika Ranch. As it is Nvidia only this would make it have a pretty limited audience considering the larger number of mac users here.

            The Nvidia version does this efficiently on the GPU. 

            There are several Python implementations of optical flow algorithms that can be integrated into isadora using the Pythoner actor, including openCV (https://learnopencv.com/optical-flow-in-opencv/). This does not have the efficiency of GPU acceleration, but on a modern cpu will still work quite well. 

            http://www.fredrodrigues.net/
            https://github.com/fred-dev
            OSX 13.6.4 (22G513) MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
            Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD

            RIL Juriaan 2 Replies Last reply Reply Quote 6
            • RIL
              RIL @Fred last edited by

              @fred great info !

              Maybe a futured request for Optical flow implementation? 

              Students and artistic producers have one little word at the point of their tongue: interactivity   ( for instalations)

              Best,

              Maxi-Ril

              Red Isadora Latina | redisadoralatina.blogspot.com | redisadoralatina@gmail.com
              page facebook.com/Red-Isadora-Latina-1319037108171197/ | Group https://www.facebook.com/groups/315960249155308/
              MacBook Pro 2015 High Sierra. Isadora 3.2
              MacBook Pro M3 Pro Sonoma. Isadora 4.1

              1 Reply Last reply Reply Quote 0
              • Juriaan
                Juriaan Tech Staff @Fred last edited by

                @fred

                Hi Fred, I didn't mention that Nvidia owns the technique 'Optical Flow'. I said that we cant do it as efficient as they are doing with TD.

                Other then that love the input that you gave and the links to the OpenCV counterparts that run on the CPU.

                Isadora 3.1.1, Dell XPS 17 9710, Windows 10
                Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
                Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

                Skulpture 1 Reply Last reply Reply Quote 1
                • Skulpture
                  Skulpture Izzy Guru @Juriaan last edited by

                  @juriaan Is there an GLSL code for this maybe?

                  Graham Thorne | www.grahamthorne.co.uk
                  RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
                  RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
                  RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                  Fred 1 Reply Last reply Reply Quote 1
                  • Fred
                    Fred @Skulpture last edited by

                    @skulpture Here are some shadertoy examples of optical flow:

                    https://www.shadertoy.com/view...

                    https://www.shadertoy.com/view...

                    The issue with this is that the computation of what is moving where and when is in a shader, this means if you want to do anything with that data, you need to do it in a shader. Getting data out of shaders is not always easy, and is best done with compute shaders, and this means windows only. The Nvidia SDK will do the computation on the GPU and pass data back to the CPU so it can be used for other calculations.

                    http://www.fredrodrigues.net/
                    https://github.com/fred-dev
                    OSX 13.6.4 (22G513) MBP 2019 16" 2.3 GHz 8-Core i9, Radeon Pro 5500M 8 GB, 32g RAM
                    Windows 10 7700K, GTX 1080ti, 32g RAM, 2tb raided SSD

                    RIL Skulpture 2 Replies Last reply Reply Quote 1
                    • RIL
                      RIL @Fred last edited by

                      @fred 

                      Thanks Fred for sharing... I'm going to try them!
                      Best,
                      Maxi-RIL

                      Red Isadora Latina | redisadoralatina.blogspot.com | redisadoralatina@gmail.com
                      page facebook.com/Red-Isadora-Latina-1319037108171197/ | Group https://www.facebook.com/groups/315960249155308/
                      MacBook Pro 2015 High Sierra. Isadora 3.2
                      MacBook Pro M3 Pro Sonoma. Isadora 4.1

                      1 Reply Last reply Reply Quote 0
                      • Skulpture
                        Skulpture Izzy Guru @Fred last edited by

                        @fred said:

                        @skulpture Here are some shadertoy examples of optical flow:

                        https://www.shadertoy.com/view...https://www.shadertoy.com/view... />

                        https://www.shadertoy.com/view...

                        The" class="redactor-linkify-object">https://www.shadertoy.com/view... issue with this is that the computation of what is moving where and when is in a shader, this means if you want to do anything with that data, you need to do it in a shader. Getting data out of shaders is not always easy, and is best done with compute shaders, and this means windows only. The Nvidia SDK will do the computation on the GPU and pass data back to the CPU so it can be used for other calculations.

                         That makes a lot of sense. Thanks.

                        Graham Thorne | www.grahamthorne.co.uk
                        RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
                        RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
                        RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

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