- Visualze statistic and procide descriptive data
- Predict Indoor Environment
- Recommend action to do according to data
- Real-time IP camera stream while save snapshot into database
- Detect Fall down and push notification to Line
First of all clone this repository then install requirement file in requirements\base.txt
Recommend to create virtual environment
First of all, you need podman (it's like a docker but daemonless)
You can follow detailed step here
Window
podman run -p 9000:9000 -p 9001:9001 minio/minio server /data --console-address ":9001"# Pull mysql and phpmyadmin then create network
podman pull docker.io/library/mysql docker.io/library/phpmyadmin
podman network create net-pma
# Run both Images
podman run --name service-mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=root --network net-pma -d docker.io/library/mysql
podman run --name service-pma -p 8080:80 -e PMA_HOST=service-mysql --network net-pma -d docker.io/library/phpmyadminDownload here Download data to import to sql here
Then put into following path (Not fix to be this path but it would be great)
-
sppe, TSSTG, yolo-tiny-onecls folder ->
StreamServer\src\analytic\action\Models -
xgboost_model.pkl ->
StreamServer\src\analytic\health
Take a look at description in example.env and fill out those parameter
cd frontend
pnpm install
Start server with main.py in StreamServer\src
py main.pyStart server with this command in frontend
pnpm devThen access webpage at http://localhost:5173/
Visit API documentation at http://127.0.0.1:8000/api/v1/docs/swagger/ or http://127.0.0.1:8000/api/v1/docs/