Hi all, this is my second post. Encouraged by the helpful response I got last time, and by the truly stellar fast.ai code style and documentation.
I am trying to introduce more interactivity into the notebook environment. Specifically I would like to be able to draw and move bounding boxes on top of images. I looked into ipywidgets
and they didn’t have anything like this out of the box.
I want to run a loop with img.show(y=bbox)
, passing in new bbox parameters as they are updated by mouse events. Does anyone know if something like this already exists for notebooks? What is a good way to handle mouse events? I tried using OpenCV, but that’s not going to work for me:
> cv2.imshow() is disabled in Colab, because it causes Jupyter sessions
> to crash
I’d really appreciate some feedback on this issue. In the meantime I can dig through the ipywidgets
source for hints, and will update you all if I find a solution.