Simulation mode is useful to work on the UI and node.js feature deployment without having to run the neural network / the webcam.
Dependency: Mongodb installed (optional, only to record data) : see tutorial
# Clone repo
git clone https://github.com/opendatacam/opendatacam.git
or
[email protected]:opendatacam/opendatacam.git
# Install dependencies
npm i
# Run in dev mode
npm run dev
# Open browser on http://localhost:8080/
If you have an error while doing npm install
it is probably a problem with node-gyp, you need to install additional dependencies depending on your platform: https://github.com/nodejs/node-gyp#on-unix
- For next release only: Set $VERSION instead of master for the Kubernete install script, see: opendatacam#247
- Make sure that config.json has the TO_REPLACE_VIDEO_INPUT, TO_REPLACE_VIDEO_INPUT values that will be replaced by sed on installation
- Search and replace OLD_VERSION with NEW_VERSION in all documentation
- Make sure correct version in config.json > OPENDATACAM_VERSION
- Make sure correct version in package.json
- Make sure correct version in README "Install and start OpenDataCam" wget install script
- Make sure correct version in JETSON_NANO.md "Install OpenDataCam" wget install script
- Make sure correct VERSION in /docker/install-opendatacam.sh
- Generate up to date api documentation
npm run generateapidoc
(not needed anymore since opendatacam#336) - Add Release on github
After you've added the release to GitHub, a GitHub Action Workflow will create the Docker images and automatically upload them to Docker Hub. It is no longer necessary to create a git tag or Docker Images manually.
https://ecotrust-canada.github.io/markdown-toc/
v4l2-ctl --list-devices