Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

camera-vc0706

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

camera-vc0706

Library to run the camera-vc0706 Tessel module

  • 0.0.1
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

#Camera Driver for the camera-vc0706 Tessel camera module (VC0706).

##Installation

npm install camera-vc0706

##Methods


// Take a still picture. Returns raw buffer data which you can pipe into a raw http stream or save in memory
camera.takePicture( function(err, picture) {...} );

// Set the size of images.
// Options are vga' (640x320), 'qvga'(320x240) or 'qqvga' (160x120). Default is 'vga'.
camera.setResolution( resolution, function(err) {...} );

// Determine the amount of compression on each image. 
// Should be a number between 0 and 255. Default is 0x35. 
camera.setCompression(compressionFactor, function(err) {...} );

Events

// The camera is ready to receive commands
camera.on('ready', function() {...} );

// The camera was unable to initialize
camera.on('error', function(err) {...} );

// A photo was taken
camera.on('picture', function(picture) {...} );

License

MIT

Keywords

FAQs

Package last updated on 25 Mar 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc