Replace Segmented Part with other Image
MrPhilosopher opened this issue · comments
Umer Qaisar commented
Hi,
I'm trying to segment an image using ADE20K model, can anyone help me in replacing any specific segmented part with any other image or to change color of that part only.
I hope am clear with my question.
Thanks.
Amin Rabinia commented
You need to look at segmentImage class and change the code in apply_mask(). There you can use box or mask arrays to replace your image.