일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 2020정보처리기사
- 국가자격증
- 기사 실기
- 우분투
- ubuntu
- pytorch
- 정보처리기사 실기
- 자격증
- 기사시험
- 정보처리기사
- 파이썬
- 딥러닝
- NCS
- python3
- Apple
- qnet
- 큐넷
- 로지텍
- DEEPLEARNING
- 코딩
- coding
- 파이토치
- Logitech
- 실기시험
- 실기
- 정보처리
- Python
- torch
- keyboards
- Anaconda
- Today
- Total
목록coding (2)
dhwiii's notepad | 딥 러닝, 코덱 일기장
import cognitive_face as CF KEY = 'PERSONAL_KEY' # Replace with a valid subscription key (keeping the quotes in place). CF.Key.set(KEY) BASE_URL = 'https://koreacentral.api.cognitive.microsoft.com/face/v1.0' # Replace with your regional Base URL CF.BaseUrl.set(BASE_URL) # You can use this example JPG or replace the URL below with your own URL to a JPEG image. img_url = 'PERSONAL_IMG' #img_url ha..
import cv2 import sys import os CAM_ID = 0 capture = cv2.VideoCapture(0) def capture(camid = CAM_ID): cam = cv2.VideoCapture(camid) if cam.isOpened() == False: print ('cant open the cam (%d)' % camid) return None ret, frame = cam.read() if frame is None: print ('frame is not exist') return None cv2.imwrite('test.jpg',frame, params=[cv2.IMWRITE_JPEG_QUALITY,100]) cam.release() if __name__ == '__m..