• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

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

    Photo booth like removing background

    How To... ?
    8
    32
    8837
    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.
    • monsieurmeus
      monsieurmeus last edited by

      Hi falks!

      I'm trying to do a very simple video installation but I need to do just one thing that is removing the background so I just have people visible (or anything that move in front of the camera).
      A "flood fill" won't work since my background is not regular or monochrome… any idea ? I'm getting worried…
      all the best to you all

      Samuel, working on Macbook i7 10.10.3

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

        This is obviously your problem "background is not regular or monochrome" the easiest way to do it would be to make the background static.

        Erm; this is an awkward one. With a couple of possible solutions, but its difficult to know which one might work best for you.
        What is the background, is it constantly changing? I'd like to know what the background will be.
        Would you be able to take a screen shot of the background using 'freeze' actor and then remove the background using difference via the effects mixer? A bit like what I do for motion tracking? (Tutorial in my sig on my blog)

        Graham Thorne | www.grahamthorne.co.uk
        RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
        RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
        RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

        1 Reply Last reply Reply Quote 0
        • monsieurmeus
          monsieurmeus last edited by

          Hi !

          oh that's a brilliant idea ! Yes my background is static, I should have think of freeze & difference, I'll try as soon as possible but I think you solved my problem !
          thanks for your rapidité, merci beaucoup

          Samuel, working on Macbook i7 10.10.3

          1 Reply Last reply Reply Quote 0
          • eight
            eight last edited by

            Did you consider using kinect? Possibly kinect augmented with a DSLR (if you need high resolution RGB)?

            --8

            Analysis: http://post.scriptum.ru | Synthesis: http://onewaytheater.us
            Twitter: https://twitter.com/eight_io | Flickr: http://www.flickr.com/photos/eight_io/
            Github: https://github.com/eighteight | MulchCam: https//mulchcam.com
            MulchTune: https://itunes.apple.com/us/app/mulch-tune/id1070973465 | Augmented Theatre: https://augmentedtheatre.com

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

              I have done this rather easily with a Kinect. Fred's kinect server will actually do this for you automatically.

              Matthew Haber :: matthewhaber.com :: besidedigital.com :: Download my actors: http://www.matthewhaber.com/isadora-actors

              1 Reply Last reply Reply Quote 0
              • monsieurmeus
                monsieurmeus last edited by

                Thanks eight & Matthew for the Kinect tip. Yes I have Kinects but I never used it within Isadora so that mean that I'm really a very beginner in that. I couldn't find in the forum something like "how to use a kinect…" is there something like that somewhere ? If you say it's rather easy, it sound good to me. I didn't find "Fred's kinect server" you're talking about, am I searching the wrong way ?

                Samuel, working on Macbook i7 10.10.3

                1 Reply Last reply Reply Quote 0
                • eight
                  eight last edited by

                  @monsieurmeus check old forum, I think all of the kinect patches are there: you would need a mac though, because those patches rely on a QC patch and a plugin.

                  --8

                  Analysis: http://post.scriptum.ru | Synthesis: http://onewaytheater.us
                  Twitter: https://twitter.com/eight_io | Flickr: http://www.flickr.com/photos/eight_io/
                  Github: https://github.com/eighteight | MulchCam: https//mulchcam.com
                  MulchTune: https://itunes.apple.com/us/app/mulch-tune/id1070973465 | Augmented Theatre: https://augmentedtheatre.com

                  1 Reply Last reply Reply Quote 0
                  • monsieurmeus
                    monsieurmeus last edited by

                    @Skulpture
                    Hi again, sorry to bother you again for something so simple, but, I still get my background in transparency using the technique like you said… It must be simple but still can't find the way like this, I hope I don't have to use a kinect method for that.
                    sorry again… 7434bb-screen_diff.png 2abad6-montage.png

                    Samuel, working on Macbook i7 10.10.3

                    1 Reply Last reply Reply Quote 0
                    • vanakaru
                      vanakaru last edited by

                      You need to trigger ”grab”(I have generator, but can be anything like keyboard watcher etc) and video you grabbing from goes to first input.

                      Also I have made it into user actor - it is so basic that you need it almost always for tracking.

                      2d249f-backgrnd-subtr.izz

                      MBP 4.1 & MBP (Retina, Mid 2012) MBP Retina 2017

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

                        Yes. Move out of the way of the camera then somehow (without the camera not seeing you!) press 'grab' on the freeze actor and then move back into the frame.

                        It's a start.. you then might need to look at making it look much better.

                        Graham Thorne | www.grahamthorne.co.uk
                        RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                        RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                        RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                        1 Reply Last reply Reply Quote 0
                        • monsieurmeus
                          monsieurmeus last edited by

                          thanks a lot for your help and your rapidity! but I still don"t find how to make the image look normal, I mean, not transparent with negative colors…

                          Samuel, working on Macbook i7 10.10.3

                          1 Reply Last reply Reply Quote 0
                          • monsieurmeus
                            monsieurmeus last edited by

                            and maybe you can help me also to find the Kinecttoizzy QC plugin, I search and search and can't find it to download…  new or old forum… sorry again

                            Samuel, working on Macbook i7 10.10.3

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

                              EDIT: don't use this method.. its an unfortunate early attempt ;)

                              I have added something just like this to my livefeed option in SYST3M, unfortunatly the next version its far from ready to share (not working perfect yet).

                              I think what you want to do is (at least what i did) is use a buffer actor to stream into your difference actor.
                              Your buffer needs to be 2 frames and being filled with the freeze frame and your live feed, alternating at the same rate as your FPS (I used the 'Performance Monitor' to set the rate of a Pulse actor->counter->selector. there might be easier ways).
                              Since the difference actor looks at 2 frames (in sequence) of 1 video stream.
                              This will give you a black and white video stream of the 'change', which should be you.
                              You can then use this stream to add an alpha or mask your stream onto another background.

                              I'm attaching a screen grab of a sample.
                              You can see that I stopped using the pulse as the trigger, since the live feedfeed seemed not to be the same FPS as my stage.
                              In anycase this is kind of working.. but I have a fast video flicker.. this might be an issue with my buffer setup.. not sure.
                              Its a start.
                              dc8cbc-untitled-1.jpg

                              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 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

                              1 Reply Last reply Reply Quote 0
                              • vanakaru
                                vanakaru last edited by

                                try my sample patch

                                MBP 4.1 & MBP (Retina, Mid 2012) MBP Retina 2017

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

                                  Heres one that is working pretty well for me.

                                  e7b4a1-untitled-2.jpg 6e4c48-removebg1.izz

                                  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 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

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

                                    note: like Skulpture mentioned before, you need to grab a freeze frame that is of the static background first..
                                    then you may need to play with the threshold and other actor settings to tune it up.

                                    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 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

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

                                      and it does help to switch the camera from automatic to manual settings.

                                      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
                                      • Skulpture
                                        Skulpture Izzy Guru last edited by

                                        I like @DusX solution using the AlphaMask!

                                        * I might have to recreate that patch and steal it for my collection ;) *

                                        Graham Thorne | www.grahamthorne.co.uk
                                        RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                                        RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                                        RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                                        1 Reply Last reply Reply Quote 0
                                        • N
                                          nick last edited by

                                          if lighting changes you will also need to grab a fresh background frame - depending on your situation it may make sense to grab a fresh background frame whenever the total movement in the frame is less than a threshold - this will help protect against slowly changing light levels

                                          MacBook Pro 11.5.2

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

                                            @nick I was thinking of adding a motion detection based reset as well, good call, since half the work is already done.
                                            @Skulpture go to it.. would love to see what you are able to add to it.
                                            @Michel you are so right I was just playing with this with a cheap webcam that is all auto focus, auto white balance etc.. and it simply didn't work at all anymore.

                                            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 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

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