Giter Club home page Giter Club logo

swiftframes's Introduction

swiftframes

Motion-compensated Frame Interpolation Algorithm using Features Matching

Warning :

1- swiftframes is still in an early stage and offers extremly bad performances. 2- I didn't work on it since June 2018, but I might go back to it when I'll have more free time as I'm pretty willing to try to make a more performant version (maybe in C++ and/or using the GPU and using more concurency and vectorialization) and improve the quality with specialized home made features and more optimizations that I have in mind. 3- If anyone is interested in helping me, don't hesitate to contact me.

Dependencies :

  • Python 3
  • Numpy
  • OpenCV, preferably with contrib (pip install opencv-contrib-python), but contrib is not mandatory (only needed if you want to try with feature detector and/or descriptors that are only in contrib like sift and surf)
  • ffmpeg (or gstreamer) for the video part

How to use :

You can use :

test.py provides some example code on how to interpolate from some png files.

testVideo.py can be used to generate a interpolated video with double the original framerate.

you can use testVideo.py like that :

python testVideo.py VideoFileName

Code structure :

the "main" driver functions are in test.py and testVideo.py, since I don't have a real main function yet. motion.py contains the motion detection algorithm, it uses object from motion_match.py. interpolation.py contains the current interpolation algorithm. motion_match and motion_features contain objects used in the process the util folder contains some utility functions I used.

detector-tests and matching-tests were only used to compare the quality of different features regarding

swiftframes's People

Contributors

zyfarok avatar

Watchers

James Cloos 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.