Comparing version 0.12.0 to 0.12.1
@@ -115,8 +115,2 @@ 'use strict'; | ||
module.exports = PixelChange; | ||
//todo(ne) - should always return array | ||
//todo(ne) - array will only be populated when percent >= percent | ||
//todo(ne) - percent will have to be passed into method | ||
//todo - will have to test this behavior on n-api module first to maintain symmetry | ||
//todo(ne) - check integrity of data before sending here to be processed | ||
module.exports = PixelChange; |
{ | ||
"name": "pam-diff", | ||
"version": "0.12.0", | ||
"version": "0.12.1", | ||
"description": "Measure differences between pixel arrays extracted from pam images", | ||
@@ -42,2 +42,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"ffmpeg-static": "^2.1.0", | ||
"jsdoc": "^3.5.5", | ||
@@ -44,0 +45,0 @@ "pipe2pam": "^0.6.2" |
# pam-diff | ||
###### [![Build Status](https://travis-ci.org/kevinGodell/pam-diff.svg?branch=master)](https://travis-ci.org/kevinGodell/pam-diff) [![Build status](https://ci.appveyor.com/api/projects/status/hu6qw285sm6vfwtd/branch/master?svg=true)](https://ci.appveyor.com/project/kevinGodell/pam-diff/branch/master) [![GitHub issues](https://img.shields.io/github/issues/kevinGodell/pam-diff.svg)](https://github.com/kevinGodell/pam-diff/issues) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/kevinGodell/pam-diff/master/LICENSE) | ||
Measure differences between pixel arrays extracted from pam images. Works well with node module [pipe2pam](https://www.npmjs.com/package/pipe2pam) to extract pam images from an ffmpeg pipe. Supported ***tupltypes*** are ***rgb***, ***rgb_alpha***, ***grayscale***, and ***blackandwhite***. It is currently being used for a video motion detection project. | ||
###### [![dependencies Status](https://david-dm.org/kevinGodell/pam-diff/master/status.svg)](https://david-dm.org/kevinGodell/pam-diff/master) [![Build Status](https://travis-ci.org/kevinGodell/pam-diff.svg?branch=master)](https://travis-ci.org/kevinGodell/pam-diff) [![Build status](https://ci.appveyor.com/api/projects/status/hu6qw285sm6vfwtd/branch/master?svg=true)](https://ci.appveyor.com/project/kevinGodell/pam-diff/branch/master) [![GitHub issues](https://img.shields.io/github/issues/kevinGodell/pam-diff.svg)](https://github.com/kevinGodell/pam-diff/issues) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/kevinGodell/pam-diff/master/LICENSE) | ||
Measure differences between pixel arrays extracted from pam images. Works well with node module [pipe2pam](https://www.npmjs.com/package/pipe2pam) to extract pam images from an ffmpeg pipe. Supported ***tupltypes*** are ***rgb***, ***rgb_alpha***, and ***grayscale***. It is currently being used for a video motion detection project. | ||
### installation: | ||
``` | ||
npm install pam-diff --save | ||
npm install pam-diff@latest --save | ||
``` | ||
### installation of experimental n-api version: | ||
``` | ||
npm install pam-diff@n-api --save | ||
``` | ||
**To run the example below, also install pipe2pam:** | ||
@@ -105,2 +109,4 @@ ``` | ||
ffmpeg.stdout.pipe(p2p).pipe(pamDiff); | ||
``` | ||
``` | ||
See [tests](https://github.com/kevinGodell/pam-diff/tree/master/tests) or [examples](https://github.com/kevinGodell/pam-diff/tree/master/examples) for more implementations. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25054
111
3
496