일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- PostgreSQL
- evaluation
- Windows
- CUDA
- Container
- LLM
- TORCH
- DB
- Python
- list
- Flask
- Laravel
- Database
- Linux
- docker
- AI
- GitLab
- file
- Package
- enV
- KAKAO
- numpy
- git
- format
- Converting
- pandas
- judge
- pytorch
- Paper
- Mac
Archives
- Today
- Total
Daily Develope
[Python] Kakao API 사용예시 본문
ㅇ Vision
- Face Detect
import requests
url = "https://dapi.kakao.com/v2/vision/face/detect"
target_file = "target_path.jpeg"
files = {'image':open(target_file, 'rb')}
header = {
'Authorization': 'KakaoAK 123...'
}
response = requests.post(url=url, headers=header, files=files)
print(response)
print(response.text)
'Develope > Python' 카테고리의 다른 글
[Python] Draw Image 이미지 그리기 (0) | 2022.04.11 |
---|---|
[Python] 정렬 Sort (Dict, Class) (0) | 2022.04.11 |
[Python] 폴더 및 파일 탐색 (0) | 2022.04.06 |
[Python] Numpy 넘파이 함수 정리 (0) | 2022.04.04 |
[Python] MFCC 구현 (0) | 2022.04.04 |
Comments