Hi! On most of my images, background removal works perfectly, but on about 5-10% the result doesn’t crop to the subject size (as i have specified it should), but instead is much wider (as if it’s including something from the background in its size calculation).
I am only using this tool to remove backgrounds, and when I put these same images into the playground, I see no such issues. I don’t feel comfortable putting the images publicly, but happy to email them to the team. Here are my parameters:
const editParams = ‘background.color=transparent&background.scaling=fill&outputSize=croppedSubject&marginTop=0%25&marginBottom=0%25&marginLeft=0%25&marginRight=0%25&paddingTop=1%25&paddingBottom=1%25&paddingLeft=2%25&paddingRight=2%25’;
I saw some notes about setting ignorePaddingAndSnapOnCroppedSides=false in another post, I don’t know if it’s relevant in my use case, but regardless it didn’t help.
Please let me know how I can fix these results, so I see same output from API that i am seeing in the playground!
Thanks!