GitXplorerGitXplorer
b

PicAlign

public
4 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
77fd3d88581013e8f4bf0d8bb056c02e02e3fd53

Create README.md

bblefaudeux committed 7 years ago
Unverified
fb4c654512398a612bdc5fd4f3d11353e3547f6e

better with the actual files..

committed 8 years ago
Unverified
0dcdce581fe814e2ac0267b8c538e9167422667c

Initial commit

committed 8 years ago
Unverified
9b196fa3e7abfc87f0faaa110db366cfd3200bb0

Initial commit

bblefaudeux committed 8 years ago

README

The README file for this repository.

PicAlign

PicAlign is a tool that can be used to align a set of images taken from a similar but not-quite aligned point of view (think handeld). It is particularly useful for creating "time-lapse" videos. PicAlign is another take on FaceAlign. It was for instance used to produce this video

How it works

PicAlign is a Python script that uses opencv python bindings, which requires >= Python 2.6. It detects interest points using Fast, and computes SIFT features to match successive pictures. It then wraps pictures around so that small misalignments and perspective shifts are corrected.

Usage

Once python and opencv are installed, open config.py and set HCDIR to the folder containing your opencv installation's Haar cascade files.

Run alignPictures.py. It takes a required input directory parameter, and an optional output directory parameter. The output directory will be created if it does not already exist. By default, images will be output to the current directory. Output file names will be numbered starting with 0001.jpg.

$ python src/alignPictures.py ../in-images

$ python src/alignPictures.py ../in-images ../out-images

Eventual plans

  • Do an overall optimization of the viewports, not just consecutive.

Common Errors/Solutions

ImportError: No module named cv

Solution: You have not installed OpenCV or the OpenCV Python bindings