BackgroundRemoval
BackgroundRemoval copied to clipboard
Image size and dimension problem
- I have taken images from the camera (iPhone XR - W3024 X H4032)
- Original image size was 3.5 MB
- When I got an updated image (White background) the size was increased (6.7 MB)
- Even file resolution was also changed (4032 X 4032)
How I can get an updated image with the proper size and dimension?
@ketssssss
You can try a cormel model supports high resolution(1024*1024).
@ketssssss
The reason for the dimension change is that the model only support square size input.
This means I have to resize your image first get the mask and then apply the mask to your picture and since the mask is already square this bug happens.
I agree that this is not the optimal solution, and this should be fixed by croping the extra dimension image. Contribution is highly appreciated.
In the mean time I will keep this issue opened until I have time to refactor some stuff