timelapse-diff

1.0.0 • Public • Published

timelapse-diff

Find bad images in a timelapse sequence by summing the absolute difference between adjacent frames. The difference between frames gives hint about how much movement there is in the frame.

Install via npm: $ npm install timelapse-diff

Usage

> const tldiff = require('timelapse-diff')
> const dirPath = '/path/to/image/dir/'
> tldiff.diff(dirPath)
PIC00001.JPG first
PIC00002.JPG 23172456
PIC00003.JPG 11349599
PIC00004.JPG 10386873
PIC00005.JPG 39200935
PIC00006.JPG 34348570
...

Larger number, larger the difference. Duplicates have zero difference.

Versioning

Semantic Versioning 2.0.0

License

MIT License

Readme

Keywords

Package Sidebar

Install

npm i timelapse-diff

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.19 kB

Total Files

7

Last publish

Collaborators

  • xeli