### A basic ES6 class to generate optical flow vectors from video. Fast and efficient, Flowin.js seeks to use minimal resources and memory footprint while remaining mobile compatible.
npm install flowin.js
`
or
`
import { Camera as FlowinCamera } from 'flowin.js'
const flowin = new FlowinCamera({
element: document.querySelector('.camera-input'),
quality: 32,
callback: (flow) => {
// Do something.
},
});
flowin.start();
`Development
If you have any fixes, suggestions or just want to add something to this lib, feel free. To run the project;
Using Node 10.16.0, npm install then npm run dev.To run a minified production build, just run
npm run build`