Giter Site home page Giter Site logo

cmsc265-image-transition's Introduction

CMSC 265 Exercise 1 - Smooth transition from one image to another

Build Status

Requirements

  1. Node.js 6.x.x (Node.js 6.9.x or greater is recommended)
  2. Python 2.x.x (Python 2.7.x or greater is recommended)
  3. OpenCV 3

Installing dependencies

This project requires a working installation of OpenCV 3. Please install this first before installing the project dependencies.

Dependencies of this project can be installed via NPM or Yarn. It is recommended to use Yarn instead of NPM due to the assurance that the dependencies that will be installed is the same across all machines. Although there is the npm shrinkwrap which aims to achieve what is stated above, read this about yarn.lock and npm shrinkwrap.

Note: Make sure that Python 2.x.x is present on your path since OpenCV bindings for Node.js needs this in order for it to be compiled.

Running the Program

This program can be run using the command yarn start if you use Yarn or npm start if you use NPM. The output image files will be under the out directory generated at the project root.

This can also be installed as executable script using the command npm install -g. After installation which could take some time, You may now be able to use the command image-sequencer <directory containing images>. For more info, you can type: image-sequencer --help.

Creating Video

You may create video out of the image sequences by using third party software like Adobe Photoshop, Virtualdub
and many more but you can create it directly from the command line if you have ImageMagick and ffmpeg installed on your path.

I have setup a simple NPM script that utilizes ImageMagick and ffmpeg. You may run the command yarn run create-video if you use Yarn or npm run create-video if you use NPM.

Running Tests

This program includes unit tests written using Mocha test framework and Chai assertion library. Unit tests can be run using yarn test if you use Yarn or npm test if you use NPM.

License

MIT

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.