Skip to content

Instantly share code, notes, and snippets.

View gurum9's full-sized avatar

gurum9 gurum9

View GitHub Profile
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"
@gurum9
gurum9 / pythondetectface_2.py
Created June 27, 2018 04:08
detectface_2.py
#-*- coding: utf-8 -*-
#!/usr/bin/env python
'''
face detection using haar cascades
USAGE:
facedetect.py [--cascade <cascade_fn>] [--nested-cascade <cascade_fn>] [<video_source>]
'''