Giter VIP home page Giter VIP logo

facevfx's Introduction

FaceVFX

Experimental project to showcase realtime face swap effects.

Supported platforms

  • Windows
  • OSX
  • iOS

Depends on

  • Cinder as the cross-platform creative coding framework.
  • Cinder-OpenCV3 for Computer Vision routines.
  • Cinder-VNM for my own utilities based on Cinder.
  • Jason Saragih's FaceTracker library, self-contained in the project.
  • Cinder-ImGui for cross-platform GUI.

Layout of the project and its dependency

Cinder/
    blocks/
        Cinder-ImGui/
        Cinder-OpenCV3/
        Cinder-VNM/
    include/
    src/
FaceVFX/

Tools used during development

  • apitrace
  • glintercept
  • Very Sleepy

Photo mode (Tom Cruise)

Movie mode

facevfx's People

Contributors

vinjn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

facevfx's Issues

Able to build, runs on Mac but not iOS

Hi there, I was able to build the project with Xcode for mac and iOS. To do this however I ran into a couple issues which others may run into:

  1. The Xcode project was still looking for a file called MiniConfigImgui.cpp. This can be removed from the project in 'build phases' > 'compile sources'.

  2. The project also looks for 'libcinder-iphone_d.a' and 'libcinder-iphone-sim_d.a' in Cinder/lib/, but those files aren't included in the Cinder readme git repo. To get those files I just downloaded the zip from https://libcinder.org/download and they were included, just copied them over.

  3. Run the xcode project in Cinder/xcode (or run fullbuild.sh).

Anyhow that gets me to now: the project runs great on Mac. However running on iPhone gets an immediate crash:

FaceVFX(6093,0x1a1c4e000) malloc: *** error for object 0x182e14d00: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug

Thanks for your help and efforts!

Installation problems

Hello,

I have successfully installed FaceVFX in the past, but now on another computer I am facing installation issues.

I cloned FaceVFX together with all the dependencies. I mirrored the file structure as described on this github page. I also cloned imgui and boost in their respective folders ( Cinder/blocks/Cinder-ImGui/lib/imgui and Cinder/include/boost) because they are subdirectories. I ran the Cinder xcode project and it was succesfully build. Now when I try to run the FaceVFX project in xcode it tells me following warnings:

Semantic issues:

Call to 'ColorPicker3' is ambiguous (in CinderImGui.h)
Call to 'ColorPicker4' is ambiguous (in CinderImGui.h)
No member named 'ButtonRepeat' in 'imGuiDrawContext' CinderImGui.cpp

What am i doing wrong? Any help much appreciated! Thnx

Can't find boost/filesystem.hpp

I'm having trouble building the xcode iOS project. It seems it can't find the file reference for boost.

Its not included in the project or git, where can I get this repo/framework? Thanks

Not an issue - question on licensing openface

This makes use of a commercial library OpenFace that costs $15,000 USD / year to license.
It doesn't seem like there's a suitable alternative -
https://www.flintbox.com/public/project/50632/
do you have any thoughts on how a similar affect could be achieved ? Could some newer technology for iphone be leveraged?
I'm aware of XJGARSDKD of this code
https://github.com/xiaojigou/XJGARSDKDemoApp-IOS
it seems to not need the openface technology (although I don't understand what's going on / how it works).

The company I'm working for - wants to upgrade filters in app to do funny gag stuff like facebook / insta / snapchat. I can the Tom cruise effect you've created - this is pretty amazing.
Do you think you could build some code to load a closed source facebook face filter? How much would it cost?

fyi - consider cherry picking the instructions in this readme
/ It mentions 'installing' cinder - but they just give you a file to save with classes etc.
I did try to just dump in the files from cinder but it complained about missing boost library - but saw in your git commits you removed that.

https://github.com/rezaali/Fragment

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.