https://pjreddie.com/darknet/yolo/
Don't forget to download and install the weights for the model
https://pjreddie.com/media/files/yolov3.weights
And save them in at the root of the darknet folder
npm install
Edit config.json
with appropriate values.
darknetPath
: absolute path to the darknet executabletempImagesFolder
: absolute path where images retrieved from cameras are storeddbFile
: absolute path to the .json database file where people counts are storedcameras
: array of camera entries.id
andurl
of the camera still image are required
npm start
npm run serve
API endpoint to see results:
http://localhost:3000/cameras