Video surveillance system. Created for Raspbian.
PiSurveillancer
│ app.js
│ server.js
|
└───frontend
│
└───node_modules
server.js
--> Serverapp.js
--> Web Client/frontend
--> Client Files
- Install npm
- Clone Code:
git clone https://github.com/MaxZell/PiSurveillancer.git
cd PiSurveillancer
- Install packages:
npm install
- Install opencv4nodejs:
npm i -g npm@6
npm i opencv4nodejs --save
npm i -g npm@latest
sudo node server
- Install npm
- Clone Code:
git clone https://github.com/MaxZell/PiSurveillancer.git
cd PiSurveillancer
- Install packages:
npm install
- Build docker image:
sudo docker build -t nodecv .
- Run Docker image with camera & port:
docker run --device=/dev/video0:/dev/video -p 1234:8888 nodecv
-- sudo docker ps
-- get container id
-- sudo docker kill <container-id>
- If only one image running:
sudo docker kill $(sudo docker ps -q)