A video surveillance web application that detects various instances of relevance through the use of a machine learning model
To run the application Rust
, Cargo
, Trunk
, and Python
are needed. The model isn't included in this repository so you'll have to get your own model and store it in server/data/model.onnx
When the prerequisites have been installed the project can be used with the following commands:
Install dependencies
pip install -r requirements.txt
To run the server use the following command:
python main.py
If you don't want to run the client there's an html file that can be used to test the server in server/index.html
trunk --config client/Trunk.toml serve
The client can be built into client/dist with the following command:
trunk --config client/Trunk.toml build --release