opencv 썸네일형 리스트형 [OpenCV] If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function 'cvNamedWindow' 다음과 같이 opencv를 통해 영상을 출력할 때 에러가 발생합니다.UserWarning: Failed to load image Python extension: ''If you don't plan on using image functionality from `torchvision.io`, you can ignore this warning. Otherwise, there might be something wrong with your environment. Did you have `libjpeg` or `libpng` installed before building `torchvision` from source?0: 480x640 19 cars, 254.4msSpeed: 19.6ms preprocess, 25.. 더보기 [OpenCV] libmkl_intel_lp64.so.2: cannot open shared object file: No such file or directory 인텔 그래픽 카드에서 동작하는 intel_extension_for_pytorch를 설치하고 opencv를 동작시키면서 intel_extension_for_pytorchlibmkl_intel_lp64.so.2: cannot open shared object file: No such file or directory에러가 발생하였습니다. mkl 라이브러리가 필요하다고 하여 다음과 같이 설치합니다.wget https://registrationcenter-download.intel.com/akdlm/irc_nas/19038/l_onemkl_p_2022.2.1.16993.shsudo sh ./l_onemkl_p_2022.2.1.16993.sh설치 위치는 /opt/intel/oneapi/입니다. 마지막으로 setv.. 더보기 [OpenCV] ImportError: libGL.so.1: cannot open shared object file: No such file or directory pip install opencv-python Ubuntu환경에서 openCV를 설치하고 다음과 같이 수행하려는데 에러가 발생되는 경우가 있습니다.import cv2import numpy as npcap = cv2.VideoCapture(1)ImportError: libGL.so.1: cannot open shared object file: No such file or directory 이 경우 다음과 같이 라이브러리를 업데이트 후 추가 설치하면 해결됩니다. sudo apt-get update -ysudo apt-get install libgl1-mesa-glx -y 또한 다음과 같은 에러가 발생할 경우ImportError: libgthread-2.0.so.0: cannot shared object fi.. 더보기 이전 1 다음