You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue:
The current image_predictor_example.ipynb provides a good example of using the image predictor. However, it lacks interactivity, which can enhance user experience and facilitate experimentation.
Proposed Enhancement:
Introduce an interactive feature that allows users to add positive and negative points by clicking on the image:
Left Click: Add a positive point.
Right Click: Add a negative point.
This can be achieved with a simple Matplotlib-based script consisting of less than 110 lines of code, eliminating the need for complex third-party tools for simple testing.
Benefits:
Simplicity: Easier to understand and modify due to fewer lines of code.
User-Friendly: Enhances interactivity without adding external dependencies.
Educational Value: Helps users learn by directly interacting with the model.
Implementation:
I have made a concise script that demonstrates this functionality. You can view the complete code in the following Gist.
Conclusion:
when i first ran demo with my image, i draw image with plotly first (cause it show mouse point coordinates) and manually update postive points and negative points one by one.
i think adding this interactive example can make the image_predictor_example.ipynb more engaging.
I'm happy to contribute this example to the repository or provide further assistance if needed.
The text was updated successfully, but these errors were encountered:
Issue:
The current
image_predictor_example.ipynb
provides a good example of using the image predictor. However, it lacks interactivity, which can enhance user experience and facilitate experimentation.Proposed Enhancement:
Introduce an interactive feature that allows users to add positive and negative points by clicking on the image:
This can be achieved with a simple Matplotlib-based script consisting of less than 110 lines of code, eliminating the need for complex third-party tools for simple testing.
Benefits:
Implementation:
I have made a concise script that demonstrates this functionality. You can view the complete code in the following Gist.
Example Code Snippet:
Conclusion:
when i first ran demo with my image, i draw image with plotly first (cause it show mouse point coordinates) and manually update postive points and negative points one by one.
i think adding this interactive example can make the image_predictor_example.ipynb more engaging.
I'm happy to contribute this example to the repository or provide further assistance if needed.
The text was updated successfully, but these errors were encountered: