Difference between revisions of "Openface: Instalasi di Ubuntu 16.04 Server"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Sumber: https://github.com/TadasBaltrusaitis/OpenFace/wiki/Unix-Installation | Sumber: https://github.com/TadasBaltrusaitis/OpenFace/wiki/Unix-Installation | ||
+ | ==Instalasi Aplikasi Pendukung== | ||
+ | sudo su | ||
+ | apt update | ||
+ | apt -y install build-essential cmake libopenblas-dev liblapack-dev \ | ||
+ | git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev \ | ||
+ | python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev \ | ||
+ | libtiff-dev libdc1394-22-dev checkinstall unzip \ | ||
+ | llvm clang libc++-dev libc++abi-dev libboost-all-dev | ||
+ | ==Instalasi Openface== | ||
− | + | cd /usr/local/src | |
− | + | git clone https://github.com/TadasBaltrusaitis/OpenFace.git | |
− | + | cd OpenFace | |
+ | chmod +x download_models.sh | ||
+ | ./download_models.sh | ||
+ | ./install.sh | ||
− | + | '''NOTE:''' libjasper perlu dibuang dari install.sh di ubuntu 18.04 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | Jika berhasil, hasilnya | |
− | |||
− | + | .. | |
+ | .. | ||
+ | [100%] Linking CXX executable ../../bin/FeatureExtraction | ||
+ | [100%] Built target FeatureExtraction | ||
+ | OpenFace successfully installed. | ||
− | + | ==Test== | |
− | |||
− | + | for videos: | |
− | + | ./bin/FaceLandmarkVid -f "../samples/changeLighting.wmv" -f "../samples/2015-10-15-15-14.avi" | |
− | + | for images: | |
− | |||
− | + | ./bin/FaceLandmarkImg -fdir "../samples/" -wild | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | for multiple faces in videos: | ||
+ | ./bin/FaceLandmarkVidMulti -f ../samples/multi_face.avi | ||
+ | for feature extraction (facial landmarks, head pose, AUs, gaze and HOG and similarity aligned faces): | ||
+ | ./bin/FeatureExtraction -verbose -f "../samples/default.wmv" | ||
==Referensi== | ==Referensi== | ||
* https://github.com/TadasBaltrusaitis/OpenFace/wiki/Unix-Installation | * https://github.com/TadasBaltrusaitis/OpenFace/wiki/Unix-Installation |
Latest revision as of 16:55, 22 May 2018
Sumber: https://github.com/TadasBaltrusaitis/OpenFace/wiki/Unix-Installation
Instalasi Aplikasi Pendukung
sudo su apt update apt -y install build-essential cmake libopenblas-dev liblapack-dev \ git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev \ python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev \ libtiff-dev libdc1394-22-dev checkinstall unzip \ llvm clang libc++-dev libc++abi-dev libboost-all-dev
Instalasi Openface
cd /usr/local/src git clone https://github.com/TadasBaltrusaitis/OpenFace.git cd OpenFace chmod +x download_models.sh ./download_models.sh ./install.sh
NOTE: libjasper perlu dibuang dari install.sh di ubuntu 18.04
Jika berhasil, hasilnya
.. .. [100%] Linking CXX executable ../../bin/FeatureExtraction [100%] Built target FeatureExtraction OpenFace successfully installed.
Test
for videos:
./bin/FaceLandmarkVid -f "../samples/changeLighting.wmv" -f "../samples/2015-10-15-15-14.avi"
for images:
./bin/FaceLandmarkImg -fdir "../samples/" -wild
for multiple faces in videos:
./bin/FaceLandmarkVidMulti -f ../samples/multi_face.avi
for feature extraction (facial landmarks, head pose, AUs, gaze and HOG and similarity aligned faces):
./bin/FeatureExtraction -verbose -f "../samples/default.wmv"