JSPM

raspivid-jpeg-stream

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q16522F
  • License MIT

Connect to your Raspberry Pi camera and receive a stream of JPEG frames

Package Exports

  • raspivid-jpeg-stream

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (raspivid-jpeg-stream) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

raspivid-jpeg-stream

NPM Version Dependency Status NPM Downloads

A read stream for jpeg data from the Raspberry Pi camera module. Uses the raspivid node module for interfacing with the official raspivid cli.

Installation

npm install raspivid-jpeg-stream

Usage

const RaspividJpegStream = require('raspivid-jpeg-stream')

const camera = new RaspividJpegStream({
    // defaults
    'width': 640,
    'height': 480,
    'timeout': 0,
    'framerate': 24
})

camera.pipe(...)

camera.on('data', function(frame) {
    ...
})

Options

See the official documentation for more options: https://www.raspberrypi.org/documentation/raspbian/applications/camera.md

Alternatively, consult the CLI:

raspivid --help

License

MIT