Hi, I hope you're doing well,
I have a follow up project for what you did for me earlier. I have put your code into a very basic GUI. All it does is, it lets you select a folder, and the shows all the images in that folder in a list, and when you choose an image, it runs your code on it for ball detection. What I would need from you, is to
- extract the color of the detected balls, so we can do some basic score counting. if you don't know the counting for snooker, just assign a random integer 1-10 for each color.
- keep track of the current balls on the table ( in a userData or sth, even the base workspace is fine)
- add a crosshair based interaction, so the user can correct manually for the undetected balls by clicking on them. you can use the fact that on the initial table the number of colors is fixed, and so by knowing what you detected, you know what is missing.
- if the image is not an initial situation, the user should be able to say that all balls have been detected. At this point, the code would know which balls are missing (since the initial set is available)
- the user interaction and displaying would require some buttons and text displays, depending on how you do the coding.
I would need this by mid-end next week, but the initial part of color detection by friday.
can you do that?