Skip to content

tengshaofeng/face_segment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

face_segment

how to run?

This is a implement of face segmentation using caffe.

You can call run a demo to do face segmentation by:

cd face_segmentor

sudo mkdir /usr/local/lib/python2.7/dist-packages/face_rebuild_py/face_rebuild_lib/dll_and_datv2/models/face_seg_fcn8s

cp data/HGNet_S2_deploy.prototxt /usr/local/lib/python2.7/dist-packages/face_rebuild_py/face_rebuild_lib/dll_and_datv2/models/face_seg_fcn8s

cp data/HGNet_S2_train_new2_iter_120000.caffemodel /usr/local/lib/python2.7/dist-packages/face_rebuild_py/face_rebuild_lib/dll_and_datv2/models/face_seg_fcn8s

python face_seg.py

result

input: image

output: image

The following dose not matter:

generate build/libtest_face_seg.so

cd face_segmentor

mkdir build

cmake ..

make -j4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published