Recent Posts
Recent Comments
Link
05-28 15:04
관리 메뉴

Replay 개발자 이야기

[windows 10]OpenFace 설치 본문

Machine Learning/OpenFace

[windows 10]OpenFace 설치

안냐앙 2016. 11. 9. 20:38


OpenFace 설치


참고사이트

https://cmusatyalab.github.io/openface/


설치 방법


2가지 방법

1.Docker로 설치하는 방법

2. 직접 설치 방법


하지만... 1번을 추천


Docker로 설치


https://www.docker.com/products/docker#windows


windows 버전 설치




설치 완료후 cmd 창 또는 Windows PowerShell 창 실행


아래에 보이는 순서대로 설치 진행


Automated Docker Build


docker pull bamos/openface

docker run -p 9000:9000 -p 8000:8000 -t -i bamos/openface /bin/bash

cd /root/openface

./demos/compare.py images/examples/{lennon*,clapton*}

./demos/classifier.py infer models/openface/celeb-classifier.nn4.small2.v1.pkl ./images/examples/carell.jpg

./demos/web/start-servers.sh


완료 후


localhost:8000 접속


결과 화면


카메라 연결하기 전



카메라 연결한 화면


연결을 하고 6명의 얼굴을 학습시킨 뒤 구분을 해보았을 때 잘되는 것을 볼 수 있었다.


하지만 학습 안된 사람도 무조건 어느 누구 한명으로 인식되는 것을 볼 수 있었다.


인식 안된 사람은 분류 안되게 코딩을 하자~

Comments