-
Notifications
You must be signed in to change notification settings - Fork 4
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
Ball calibration? #1
Comments
It's a good idea. I've been thinking about ways to do this. |
I've created a branch with a tkinter calibrator. You press c while count_throws.py is running and fine tune the color settings. When you think you're done, you just close tkinter window and it gets back to the main program with the new settings. If you don't get it right, you can press c and try again. It's not ideal, but it's better than change the code until you get the settings right. Let's keep working on this. |
@ocarneiro thanks for adding it! I tried the branch, and it would not run on my Mac. I get:
|
I tried changing the 1 to a 0 in this line:
which made the camera work, but then when I pressed 'c' for calibration, I got a hard crash:
|
Hmm... Looks like tkinter isn't a viable choice as calibrator gui for you... |
I did a video showing some calibration tests: https://youtu.be/HAS1nLJqFGM |
I tried this myself, and i had a hard time getting the lighting right, and tweaking the red color so that it would recognize my ball. Could we have a mode where the program draws a square on the screen, and you hold your red (or whatever color) ball in the square, then click a button to say, "This is it, keep your eye on it."
The text was updated successfully, but these errors were encountered: