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

Some edge cases #2

Open
KristianBalaj opened this issue Nov 9, 2021 · 1 comment
Open

Some edge cases #2

KristianBalaj opened this issue Nov 9, 2021 · 1 comment

Comments

@KristianBalaj
Copy link

I'm thinking about a few edge cases and I'm interested in your insights.

Would this detect the movement correctly in case the whole scene gets suddenly saturated?

The next is a rain.
In case of a weak rain some simple filtering could work - either blur or median. But what about a heavy rain? Would it detect movement all over the image?

@stephanecharette
Copy link
Owner

If the image gets saturated, then my guess is it would think there was movement everywhere. But this would depend on the level. You'd have to try it.

For rain, it will also depend on what size you choose for the thumbnail dimensions. The larger the size, the better chance it will accidentally notice the rain. With smaller thumbnails, then chances are it will skip any rain once the image has been resized.

Blur is normally not necessary, since the library only works with very small thumbnail images. But again, try it and let us know if/when it helps.

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