[Python] OpenCV issue in Colab Notebook

Discussão em 'Python' iniciado por Stack, Fevereiro 15, 2025.

  1. Stack

    Stack Membro Participativo

    I'm using a demo on Colab notebook called Deep Exemplar Based Video Colorization. https://colab.research.google.com/drive/1Y1XTlTdUG-2LzrH1Vnr_osg9BQavfYsz?usp=sharing

    After the program stopped functioning, I downgraded python to python 3.7 at top of notebook. The demo worked without issue again for several months.

    Until today.

    In the colorization module ( last module) I get the following error:

    error when colorizing the video ref.jpg module 'cv2.ximgproc' has no attribute 'createFastGlobalSmootherFilter'

    The 'createFastGlobalSmootherFilter' is a function that the code is attempting to use from the ximgproc module. However, this function does not suddenly appear now to be available in the version of OpenCV

    I'm a bit vague about Colab codes. No idea how to correct this. Any suggestions?

    Continue reading...

Compartilhe esta Página