Git Product home page Git Product logo

face-vid's People

Contributors

hotzenklotz avatar normanrz avatar tmbo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

face-vid's Issues

Proper set mask to mean function

Currently we are replacing every occurrence of 0 in the image with the mean, converting every black pixel to a mean pixel. This obviously also changes the color of pixels that are not part of the mask.

Possible solution:

  • get rid of resizing (probably not a good idea anyway). Already crop a properly sized image from the face video.
  • draw the ellipse with image independent parameters (we are actually doing that already, but the problem is the resizing of the frames after painting the ellipse). First in black and in the second pass with the mean color

subsampling frames

  • specifiy number of output samples wanted
  • extract frames equidistant from video

Train / Test split

We need to split our data into train and test. Script should read the "filaname label".txt and split it according to a parameter into two such files.

Data augmentation

We are in general very short on training examples. Therefore we should generate new ones based on existing ones:

  • slight rotation
  • move face patch slightly
  • play with saturation / brightness

Proper flow stacking

Currently we are generating a separate hdf5 db for x and for y flows. That doesn't make too much sense since we need them in one. They should be stacked in alternating order (x1, y1, x2, y2,...) to get a 20 channel blob.

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.