메뉴 건너뛰기

목록
2022.12.13 00:29

간단 변환

profile
조회 수 22 댓글 2 예스잼 0 노잼 0

No Attached Image

import cv2

from urllib.request import urlopen

import numpy as np

 

url = r'http://---/capture'

while True:

    img_resp = urlopen(url)

    imgnp = np.asarray(bytearray(img_resp.read()), dtype="uint8")

    img = cv2.imdecode(imgnp, -1)

    cv2.imshow("Camera", img)

    if cv2.waitKey(10) == ord('q'):

        break

 

  • profile
    저능아 2022.12.13 03:25
    봇치더록 짭창고콘 icon_43
  • profile
    그리드 2022.12.13 10:12
    ESP32CAM을 IP카메라로 만들어서 넣어버리면 해결되는거 아님? 씨발 ㅋㅋㅋ 그냥 돌아가면 그만이야!