Can you provide an example script for this task

#2
by MonsterMMORPG - opened

We give an input image, mask text, and then it will extract that masked area from the image and save into a folder

I have used invoke ai but the results are not like i am expecting

input

a.jpg

command

!mask "C:\Users\King\Downloads\a.jpg" -tm "clothes" 0.99

outputs

image.png

image.png

my expected output

image.png

Sign up or log in to comment