I'm following how-to-track-and-count-vehicles-with-yolov8 notebook on my local machine and found that show_frame_in_notebook() runs but the output frame is not rendered.
After some googling I found out that we need to add %matplotlib inline to the cell where we use the function for it to work. and it is used only once.
Also when I try to add it to the first cell of the notebook the function doesn't render too it needs to be in the same cell or after it for the first run.
I know my problem is solved but I'd like to see if it can be added to the library directly and that it was not used on colab.
I'm following how-to-track-and-count-vehicles-with-yolov8 notebook on my local machine and found that
show_frame_in_notebook()runs but the output frame is not rendered.After some googling I found out that we need to add
%matplotlib inlineto the cell where we use the function for it to work. and it is used only once.Also when I try to add it to the first cell of the notebook the function doesn't render too it needs to be in the same cell or after it for the first run.
I know my problem is solved but I'd like to see if it can be added to the library directly and that it was not used on colab.