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

wba.py hangs if it cannot distinguish balls from the background #7

Open
austinborn opened this issue Feb 15, 2019 · 1 comment
Open

Comments

@austinborn
Copy link
Collaborator

wba.py currently relies on the assumption that in a full video, a background pixel will not have a ball over it majority of the time. Thus, you can use the mode of pixel color over the length of video to find the background. However, this does not work if the balls do not move a sufficient amount throughout the video. Current work-around is to use the experimental background flag to supply a background JPEG picture.

@alexandroid000
Copy link
Owner

Can you document the background flag option in the openCV README? Then I think we can close this issue for now, since that seems like the cleanest way around this issue.

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