Raspberry Pi - 이미지 처리 - OpenCV - 얼굴 영역 추출 (cam.py)
라즈베리파이 vscode 설치 $ sudo su # wget https://packagecloud.io/headmelted/codebuilds/gpgkey -O - | sudo apt-key add - # . 0: print(face_list) color = (0, 0, 255) for face in face_list: x, y, w, h = face cv2.rectangle(image, (x, y), (x+w, y+h), color, thickness=8) cv2.imwrite("facedetect-output.PNG", image) else: print("no face") [[402 479 354 354]] 원본 실행후 검출된 얼굴 영역 모자이크 처리하기 cv_face_ex02.py 30배 축소하여 ..
2020. 10. 19.