SAM2-Fuse banner

SAM2-Fuse

4 devlogs
12h 36m 37s

A DaVinci Resolve plugin (fuse) for both free and studio users that allows for foreground/background objects to be removed!

Robert Z

I finally got the API working for the propagation.

0
Robert Z

Finally made it so the session can make a video propagator. I need to revise the way I do it tho, I need to export a frame and save it to disk rather than using a numpy array and inserting into that.

1

Comments

Robert Z
Robert Z about 10 hours ago

I forgot to mention: also added the points functionality into it.

Robert Z

I finished up my setup.py to install the necessary dependencies and also created a test.py script to test the video masker. I put a point at the grass and it masked it properly!

(The very green thing outlining the grass is the mask generated by the model)

0
Robert Z

Somehow Hackatime logged 4 hours but it did not feel that long. I made a “setup.py” script to download the proper dependencies (pytorch, torchvision) onto the users computer. I had to handle a case where certain pytorch builds had to be installed based on the cuda version installed on the user’s computer. There’s some problems I ran into: the default “venv” module that python includes does not (for some reason) install pip. This means I have to curl and download a get-pip.py script that installs pip so I could install all the other dependnecies. All stuff is installed with either pip or curl.

1

Comments

Robert Z
Robert Z 18 days ago

i forgot to mention, but i created this script so the user can have a seamless experience. (my user base is most likely non-tech savvy people, so i would rather spend a few hours making a script automating all of it rather than forcing people to install it my way and potentially making them lose interest in the project)