Package for connecting with Pi-Eye camera
- NodeJS
- TypeScript
- Node and npm
- Install NPM package: camera-connection
npm install https://github.com/Pi-Eye/camera-connection
import { CameraSide, ClientSide } from "camera-connection";
const port = 8080; // port to listen on
const hash_file_location; // location of json file containing hash of password to authenticate
const all_settings; // All settings of Pi-Eye camera
const camera_side = new CameraSide(port, hash_file_location, all_settings);
const config_file_location; // location of json file containing address and password to authenticate
const client_side = new ClientSide(config_file_location)Distributed uner the GPL-3.0 License. See LICENSE.txt for more information.
Bennett Wu - bwu1324@gmail.com