Git Product home page Git Product logo

cpp-face-morph-server's Introduction

Server-side Face Morphing Engine

SERVER (C++)

A server-side face morphing engine implementation by Delaunay Triangulation based in C++ with OpenFace, OpenCV, and BOOST.

Any clients which can send a http-request (with two images basically) could receive the morphed face as a result.

This project first started as a forked project from HERE, then manipulated to the server-based application (via TCP/IP socket communication) powered by Face Detection library included in OpenFace and image processing & computer vision libraries in OpenCV.

This has been adopted & being used to a face-morphing baed commercial quiz service, with reasonably fast speed and quality.

DEPENDENCIES

  • OpenFace for Face Detection (FD) & Face Landmark Detection (FLD)
  • BOOST for TCP/IP communication w/ some utilities
  • OPENCV 3.1 for image processing
  • TBB as it's dependent to the OpenFace project
  • CMAKE >= 2.8 to compile

SUPPORTED TYPES OF MORPHING

1. Composable-type Morphing

2. Progressive-type Morphing

Usage

$ ./face-morph-server 9876 .

CLIENT (PHP)

A FLDM (Face Landmark Detection & Morphing) client script, which queries TCP-request to the FLDM server which performs the "face morphing" task to the given images (source and destination) in the command-line shell using PHP script.

Usage

$ /usr/bin/php fldm-client.php ../../sample/1.jpg ../../sample/2.jpg composable 5

Sample Result

The sample images below has been derived from the forked project done by DevendraPratapYadav.

Source

Source

Destination

Destination

Result

Result

cpp-face-morph-server's People

Contributors

barniekim avatar devendrapratapyadav avatar kant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cpp-face-morph-server's Issues

Make ERROR

I have cmake.. and make the server directory and after 93% it returns this:

lib/local/fld-server/CMakeFiles/fld-server.dir/build.make:86: recipe for target 'lib/local/fld-server/CMakeFiles/fld-server.dir/src/tcp_connection.cpp.o' failed
make[2]: *** [lib/local/fld-server/CMakeFiles/fld-server.dir/src/tcp_connection.cpp.o] Error 1
CMakeFiles/Makefile2:290: recipe for target 'lib/local/fld-server/CMakeFiles/fld-server.dir/all' failed
make[1]: *** [lib/local/fld-server/CMakeFiles/fld-server.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

I hope you can help me with that and i am really appreciate.
Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.