Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing background for 480p (wide) video instead of square #30

Open
kooler opened this issue Nov 20, 2020 · 2 comments
Open

Removing background for 480p (wide) video instead of square #30

kooler opened this issue Nov 20, 2020 · 2 comments

Comments

@kooler
Copy link

kooler commented Nov 20, 2020

Hi,

It seems that all the models are currently receiving square images as the input. In order to make them work with wider ones (for example 320x240) would I need to retrain them on images of that size or is there another way to adapt them to the different size?

Thanks!

@anilsathyan7
Copy link
Owner

You can resize the input image to square (say 320x320), feed the resized image as input to the model and finally resize the output mask to required resolution.

@kooler
Copy link
Author

kooler commented Nov 20, 2020

Ah, interesting, will give it a try.

Thanks @anilsathyan7!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants