doombeaker/AI-Painter

Add opencv-python to requirements?

Opened this issue · 1 comments

File "/home/user/image-generation/AI-Painter/launch.py", line 7, in <module>
    from ui import create_ui
  File "/home/user/image-generation/AI-Painter/ui.py", line 3, in <module>
    from pipeline import (
  File "/home/user/image-generation/AI-Painter/pipeline.py", line 3, in <module>
    import cv2
ModuleNotFoundError: No module named 'cv2'

Also, do you know if it's possible to use oneflow with a1111 or vlad's automatic webui? Is it not possible to add it there?

To resolve this issue, you'll need to install the OpenCV library in your Python environment. You can do this using the following command:

pip3 install opencv-python