Skip to content

maikgreubel/node-v4l

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-v4l - Video 4 Linux in node.js

This project aims to be an addon module for node.js for accessing v4l devices natively.

The module provides a simple dump() method, which returns the image in (currently) jpeg format. There are a couple of parameters which controls the image grabbing process.

The module was written and tested on Raspberry Pi Model B using an usb connected camera.

Version:

0.1 Alpha

Syntax (simple example):

var v4l = require('build/Release/v4l');
v4l.dump(device, width, height, skipFrames); // The dump method will return the binary image data

Options:

  • device: The device to open (default = /dev/video0)
  • width: The width for result image (default = 640)
  • height: The height for result image (default = 480)
  • skipFrames: The number of frames to ignore (default 10)

Credits:

License:

MIT

About

Video4Linux addon for node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors