image-background-remove-tool
image-background-remove-tool copied to clipboard
Need transparency for white background images
I have gone through your code it's working well for some images which are having a white background. for some images, it's not working because images have high quality and shadows. How I can fix this please help me on this ASAP
I am using CPU setup processing and interacting via code snippet running.
Thanking you in Advance HimaBindu Y
Hey, @himabinduyeddala
Could you provide example images, which have quality issues?
Hi Nikita Selin, I have replied through mail [email protected] with attached images. please check the mail and reply to me on this.
Thanks&Regards HimaBindu Y
Hi, I am having 5000x3000px portraits against a grey background. The background agains hairlines is not nicely removed, i.e., individual hair is not recognised.
Hi, I am having 5000x3000px portraits against a grey background. The background agains hairlines is not nicely removed, i.e., individual hair is not recognised.
Hey @helmutkaufmann The out-of-the-box framework is designed to remove the background from images up to 2500x2500 pixels. You need to try changing some settings to improve the background removal quality. Try increasing the input image resolution of the matting neural network and increasing the dilation value in the trimap generator, this should solve the problem. But this would require a powerful computer to compute all.
@OPHoperHPO for increasing the dilation value in the trimap generator would you increase the kernel_size value?
@OPHoperHPO for increasing the dilation value in the trimap generator would you increase the kernel_size value?
@dabernstein, yes
Thank you for your time and effort on this wonderful project. But I tried with these 2 images but it's not as good as remove.bg. https://user-images.githubusercontent.com/7751399/191201493-659b2683-cb5a-42ec-901d-32e468023039.jpeg
https://user-images.githubusercontent.com/7751399/191201470-f5b78198-82b5-40a9-b09e-c6d10116a38a.png
Hi, @longleeproduction
We are working on a new big update for CarveKit, please check the developer version in the development-tracer
branch. This version outperforms the stable version in terms of quality when removing backgrounds from objects. Keep in mind that this model is not final, we are optimizing it for problematic domains.
Here are some results (left - u2net with fba, right - tracer with fba)
Any plans for bringing or integrating with SAM?