CCTV 라이브 이미지 다운로드
파이썬을 이용한 CCTV 라이브 이미지 다운로드 입니다. urls 의 주소만 변경하면 가능하고 auth 정보도 CCTV 정보에 맞게 수정하시면됩니다. 예제 urls 에 있는 주소는 하이크비전 CCTV에서 이미지를 얻는 API 주소 입니다. import os import requests from requests.auth import HTTPDigestAuth import datetime urls = { 'stream2': 'http://192.168.123.2/ISAPI/Streaming/channels/101/picture', 'stream3': 'http://192.168.123.3/ISAPI/Streaming/channels/101/picture', } # 인증 정보 설정 auth = ('ID', '..