@abpd2001/rpicam
v0.1.0
Published
A lightweight library to control CSI-2 camera modules via any raspberry pi can read camera module but is dependent to shell.
Downloads
7
Maintainers
Readme
Raspberry pi camera library for node.js
Simple and lightweight library for taking control of Raspberry Pi Camera for Node (JS/TS).
Table of contents
Introduction
rpicam-apps-lite is a linux package rpi-cam npm library dependent to it and used for controlling Raspberry Pi Camera series connects via CSI-2 socket and other ports.
Warning: This library only test on these Linux distros and not recommended to use windows or other OS not supported for rpicam-apps-lite package, also is not fast as a C/C++ custom drivers and use shell tools!
- Debian
- Ubuntu
- Raspbian
Installation
In first you need to setup dependent packages, so run this command to check already installed or not:
apt list --installed rpicam-apps-lite # for Debian based distros.
# or
yum list --installed rpicam-apps-lite # for REHL based distros (not recommended).Note: if already downloaded, skip downloading, else continue.
then download package by this command:
sudo apt install rpicam-apps-lite # for Debian based distros.
# or
sudo yum install rpicam-apps-lite # for REHL based distros (not recommended).at last step, install library on your node.js project:
npm install rpi-camFeatures
Is lightweight, user friendly and professionals also can use this as a advanced library access them to every options like zooming or adding effects and capturing method and mores supported in rpicam-apps-lite.
Some advatage of using this library:
- its user-friendly and has advanced tools for professionals.
- its lightweight.
- all tools in
rpicam-apps-liteis usable on this library. - can wait and reserve camera to avoid race-condition bugs.
- also can do advanced method of capturing videos and photos like burst shots, capturing last 30 minutes or live streaming and others...
