일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- codedeploy
- Spring Error
- or some instances in your deployment group are experiencing problems.
- PostgreSQL
- redis
- VPN
- docker
- codepipeline
- SQL
- Flux
- Airflow
- chartjs
- java bigdecimal
- 도커
- Spring
- IntelliJ
- aws cicd
- codedeploy error
- Python
- Kafka
- aws
- COALESCE
- bootstrap
- kubeflow
- JavaScript
- chart.js
- Jenkins
- node
- AWS CI/CD 구축하기
- codebuild
- Today
- Total
목록전체 글 (632)
Small Asteroid Blog
Nailed it 완벽하게 해냈어 Nail it처럼 Nail + 무엇 이라고 하면 무엇을 잘 해내다 라는 뜻이다. Q : How was the test? 시험 어땠어? A : I nailed it. 완전 잘봤지. I really wanna nail this exam next week. 담주 시험 정말 잘 치고 싶다. 잘해내고 싶다.
여러 이미지중에 얼굴검출되는 이미지와 검출되지 않는 이미지 분류해서 폴더별로 저장시키기 import face_recognition from matplotlib import pyplot as plt import cv2 from PIL import Image import os import shutil #확인 할 이미지가 들어있는 폴더 imagepath = 'D:/my/video frame/cropface/' #인식 안되는 얼굴들 이동할 폴더 경로 mvpath = 'D:/my/video frame/noface2/' for root, dirs, files in os.walk(imagepath): #print('root > ',root, 'dirs >',dirs,'files >', files) for idx, f..
import cv2 from matplotlib import pyplot as plt import os print(os.getcwd()) #현재 파일 위치 #둘중에 되는거 사용 #face_cascade = cv2.CascadeClassifier('../haarcascades/haarcascade_frontalface_default.xml') #eye_casecade = cv2.CascadeClassifier('../haarcascades/haarcascade_eye.xml') face_casecade = cv2.CascadeClassifier(cv2.data.haarcascades + 'haarcascade_frontalface_default.xml') eye_casecade = cv2.CascadeCl..
face_recognition 를 이용해서 얼굴영역만 크롭하기 import face_recognition from matplotlib import pyplot as plt import cv2 from PIL import Image # open할 이미지 경로 imgfile='D:/my/video frame/test_rec1/LESSON_319.jpg' savepath = 'D:/my/video frame/test_rec1/' file = 'LESSON_319.jpg' image = face_recognition.load_image_file(imgfile) face_locations = face_recognition.face_locations(image) #눈코입 찾아서 얼굴있으면 개수 알려줌 print("..
opencv 사용시 생기는 에러로 아래 코드로 작성하면 생기는 에러였다. face_cascade = cv2.CascadeClassifier('../haarcascades/haarcascade_frontalface_default.xml') eye_casecade = cv2.CascadeClassifier('../haarcascades/haarcascade_eye.xml') 아래 내용으로 변경해서 사용하니 에러가 생기지 않았다. face_cascade = cv2.CascadeClassifier(cv2.data.haarcascades + 'haarcascade_frontalface_default.xml') eye_cascade = cv2.CascadeClassifier(cv2.data.haarcascades ..
# -*- coding: utf-8 -*- import cv2 import numpy as np from matplotlib import pyplot as plt import os from PIL import Image print(os.getcwd()) #파이썬 경로를 비디오 경로와 동일하게 변경 os.chdir('D:/my/record_3') print(os.getcwd()) videopath = 'D:/my/record_3/' savepath = 'D:/my/video frame/rec3/' for i in range(9,901): vname = 'v_3_'+str(i) #print(vname) cap = cv2.VideoCapture(videopath+vname+'.mp4') fps = cap.ge..