This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-*- coding: utf-8 -*- | |
#!/usr/bin/env python | |
''' | |
face detection using haar cascades | |
USAGE: | |
facedetect.py [--cascade <cascade_fn>] [--nested-cascade <cascade_fn>] [<video_source>] | |
''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json | |
import os | |
import time | |
from urllib.parse import urlencode | |
import requests | |
API_URL = "http://apis.data.go.kr/6260000/BusanCctvInfoService/getCctvDetailsInfo" | |
API_SERVICE_KEY = "(서비스키)" | |
API_NUM_OF_ROWS = "100" |