• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    Key - Live video

    How To... ?
    photo booth background keying
    5
    11
    5.5k
    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.
    • dbiniD
      dbini
      last edited by

      I would do it in TSPS and syphon/spout the results into Isadora.

      John Collingswood
      taikabox.com
      2013 MBPR 2.3GHZ i7 OSX11.7.4 16GB
      & 2019 MBPT 2.6GHZ i7 OSX12.3 16GB

      1 Reply Last reply Reply Quote 0
      • MaximeM
        Maxime
        last edited by

        You can do it by grabbing the background with freeze and substract it with the effect mixer

        MBP 15" end 2013 / i7 2,3Ghz /NVIDIA GT 750M 2048Mo / 16Go RAM / OS 10.10.3
        Razer Blade 15" 2018 /i7/ GTX1070/ 16Go RAM

        1 Reply Last reply Reply Quote 0
        • MichelM
          Michel Izzy Guru @D1gits
          last edited by

          @D1gits

          But your camera should be controlled manually if you use freeze actor. In automatic mode the camera normally adjusts its brightness settings if someone gets into the picture.

          Best Michel

          Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

          1 Reply Last reply Reply Quote 0
          • D1gitsD
            D1gits Beta Tester
            last edited by

            Thanks everybody! I have tried both TSPS and the setup with Freeze and Effect Mixer but without luck. The output I get is not a keyed video for some reason. In the TSPS case I just get a black and white video that I can't get any color from?! And in the Isadora setup I get a color video but the black in the video is not a alpha layer... Maybe I'm getting it all wrong in your examples. I will keep up looking for a solution. Maybe Kinect could do this somehow... I just fear that the quality is not good enough.

            Best. Erik

            MichelM 1 Reply Last reply Reply Quote 0
            • MichelM
              Michel Izzy Guru @D1gits
              last edited by

              @D1gits

              Ok its a bit more complex as the patch above. See the patch I have attached. But as I said before, you have to set your camera manually. Best is let someone stand in front of the camera and set it to look best on the foreground (person). Then clear the space and take a freeze grab by hitting the keyboard button "a". Now it should work as asked. I am not sure if you really will get it better than photo booth, play around with the two threshold and the Gaussian blur values.

              Best Michel

              ClearBackground.izz

              Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

              1 Reply Last reply Reply Quote 0
              • DusXD
                DusX Tech Staff
                last edited by

                if you want to go the kinect route and your on pc with a kinect v2.

                You might be interested in a project I built a little while ago.

                https://github.com/rwebber/kin...

                It offers a video stream with auto keying but the resolution is limited.

                Troikatronix Technical Support

                • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                • Isadora Add-ons: https://troikatronix.com/add-ons/
                • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

                Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                1 Reply Last reply Reply Quote 0
                • D1gitsD
                  D1gits Beta Tester
                  last edited by

                  Thanks so much DusX and Michael for the input on this little project in keying out backgrounds... Well on the Kinect idea I'm on a Mac. So I can't run the code you have written, right? But I'm interested in the resolution limitation you mentioned : )  And when it comes to the ClearBackground.izz I found it to not work with syphon:

                  Camera - > Isadora - > Syphon - > Resolume 

                  For some reason the Alpha chanel does not end up in the syphon stream... Any idea why? I got other software transmitting alpha thru syphon. 

                  Best . Erik

                  MichelM 1 Reply Last reply Reply Quote 0
                  • MichelM
                    Michel Izzy Guru @D1gits
                    last edited by

                    @D1gits

                    Well the thing is that you are not sending an alpha channel, only a black background, because you did not set a picture for the picture player, that picture should be transparent for example a transparent .psd file. I don't know what exactly you want to do. Do you want to add the background in Resolume? Attached is a transparent image.

                    Best Michel

                    Background.psd

                    Michel Weber | www.filmprojekt.ch | rMBP (2019) i9, 16gig, AMD 5500M 8 GB, OS X 10.15 | located in Winterthur Switzerland.

                    1 Reply Last reply Reply Quote 0
                    • MaximeM
                      Maxime
                      last edited by

                      @D1gits You can't get alpha because there's no alpha involved anywhere here so far. If you want to use alpha, put a threshold actor with one of the layer set to transparency...

                      As you can see below, the result is a bit dirty but it's due to the automatic mode of my isight, as michel mentioned earlier

                      You could blur out the mask to get softer edges as well (here i'm just blurring the video input to hide my morning face 😉 )

                      MBP 15" end 2013 / i7 2,3Ghz /NVIDIA GT 750M 2048Mo / 16Go RAM / OS 10.10.3
                      Razer Blade 15" 2018 /i7/ GTX1070/ 16Go RAM

                      1 Reply Last reply Reply Quote 0
                      • DusXD
                        DusX Tech Staff
                        last edited by

                        regarding the kinect v2 keyed output. Although the camera captures 1920x1080 video the depth sensor is 512 x 424. Therefore the keyed feed matches the depth feed and is 512 x 424.  That is a spout feed with alpha. You are correct, this app will only run on PC.

                        Troikatronix Technical Support

                        • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                        • Isadora Add-ons: https://troikatronix.com/add-ons/
                        • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

                        Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

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