바뀜

둘러보기로 가기 검색하러 가기
244 바이트 추가됨 ,  2021년 10월 1일 (금) 12:10
19번째 줄: 19번째 줄:  
위 과정에서 에러가 난다면 [[얼굴추적]] 문서를 참고하자.
 
위 과정에서 에러가 난다면 [[얼굴추적]] 문서를 참고하자.
    +
=== 얼굴 입력하기 ===
 +
분류할 얼굴을 입력한다.<syntaxhighlight lang="python">
 +
for name, img_path in img_paths.items():
 +
    img_bgr = cv2.imread(img_path)
 +
    img_rgb = cv2.cvtColor(img_bgrk, cv2.COLOR_BGR2RGB)
 +
</syntaxhighlight>
 
=== 함수정의 ===
 
=== 함수정의 ===
 
{| class="wikitable"
 
{| class="wikitable"

둘러보기 메뉴