Coder Social home page Coder Social logo

facedata's Introduction

Face Data

A macOS application used to auto-annotate landmarks from a video. Those landmarks can further be used as training data for Generative Adversarial Networks (GANs).

DOI License

Getting Started

Installing

You can either download the binary file from Rease or build the source code using Xcode.

Use

Description
Video Path Path to the video file, currently only support .mp4 files. Use Select File to generate path using a file browsing panel.
Output Path Path to the output directory, this app will create origin and landmarks two sub-directories. Use Select Folder to generate path using a file browsing panel.
Start Second An integer value indicating from which second to start capturing frames from the video, default is 0 (from the beginning)
End Second This app would not extract frames after this second. Default is the duration of the video.
# of Frames Integer value of how many frames you want to generate. Default is 100 frames.
Start Start the process.
Cancel Stop the process.

Output

  • Two sub-directories origin and landmark will be created in the specified output directory.
  • origin contains the original frames extracted from the video, with file name: img001.png.
  • landmark contains the landmark image drawn based on the corresponding frame in origin, with file name: img001lm.png.
  • If there is no face detected in one original frame, the corresponding file name in landmark is no_face_img001lm.png.

Output Images Processing

You will probably want to process the generated images to fit the size restriction for you GANs model. You can refer the Python script crop.py.

Built With

facedata's People

Contributors

xiaohk avatar

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.