본문 바로가기

RaspberryPi

RaspberryPi + opencv

728x90
반응형

라즈베리파이에서 opencv를 설치하는 명령어다.

sudo apt install libva-drm2 libpangoft2-1.0-0 libxvidcore4 libxkbcommon0 libchromaprint1 libpgm-5.3-0 libopus0 libwayland-cursor0 libpango-1.0-0 libbluray2 libsnappy1v5 libxrandr2 libthai0 libzvbi0 libnorm1 libpixman-1-0 libzmq5 libx265-192 libgraphite2-3 libxdamage1 libwayland-client0 libgtk-3-0 libsrt1.4-gnutls libxcursor1 libx264-160 libspeex1 libswscale5 libdav1d4 libmp3lame0 libgsm1 libatspi2.0-0 libxcb-render0 libavformat58 libvdpau1 libgme0 libcodec2-0.9 libwebpmux3 libshine3 libvorbis0a libsoxr0 libdrm2 libva-x11-2 libcairo-gobject2 libavutil56 libxfixes3 libvorbisfile3 librabbitmq4 libxrender1 libsodium23 libharfbuzz0b libtwolame0 libswresample3 libavcodec58 libxcomposite1 libwavpack1 libogg0 libepoxy0 libvorbisenc2 libxi6 libatlas3-base libgfortran5 libvpx6 libcairo2 libudfread0 libatk1.0-0 libgdk-pixbuf-2.0-0 libdatrie1 libmpg123-0 libxinerama1 libopenjp2-7 libaom0 libva2 libopenmpt0 libpangocairo-1.0-0 libwayland-egl1 libatk-bridge2.0-0 libtheora0 ocl-icd-libopencl1 libxcb-shm0 librsvg2-2 libssh-gcrypt-4

sudo pip3 install opencv-python

명령어의 길이가 길다.

복사해서 붙여넣는 것을 추천한다.

 

참고 사이트

 

piwheels - opencv-python

opencv-python Wrapper package for OpenCV python bindings. Installation sudo apt install libva-drm2 libpangoft2-1.0-0 libxvidcore4 libxkbcommon0 libchromaprint1 libpgm-5.3-0 libopus0 libwayland-cursor0 libpango-1.0-0 libbluray2 libsnappy1v5 libxrandr2 libth

piwheels.org

 

728x90
반응형

'RaspberryPi' 카테고리의 다른 글

Python yolov5(detect.py)  (0) 2022.05.06
Python3 OCR + gtts  (0) 2022.05.06
RaspberryPi4 + YOLOv5 Error 및 추가 설치  (0) 2022.05.05
RaspberryPi + YOLOv5  (1) 2022.05.05
RaspberryPi 화면 보호기(자동화면꺼짐설정)  (0) 2022.05.05