opencv-face-replace

1.0.3-v • Public • Published

opencv-face-replace

npm install opencv-face-replace

place_path = data/place.jpg // targer face image fime paht face_path = data/fece.jpg // source face image fime paht

place = { x: 280, y: 110, width: 240, height: 240 }; //target face location face = { x: 280, y: 110, width: 240, height: 240 }; //source face location

face.replace(place_path,face_path,place,faces,result_path,function(){
console.log('image ready callback'); });

example: http://animalbody.ga

Package Sidebar

Install

npm i opencv-face-replace

Weekly Downloads

0

Version

1.0.3-v

License

ISC

Last publish

Collaborators

  • allimist