Skip to content

edge-toolkit/core

Repository files navigation

edge-toolkit core

mise

Please install mise. It is needed for all use of this repository.

Contributing

Use mise run fmt and mise run check to run formatters and checkers.

Run e2e

Run the end-to-end tests using Chrome:

mise run ws-e2e-chrome

Run ws agent in browser

HAR model setup

Download the onnx from https://modelnova.ai/models/details/human-activity-recognition , and save it as services/ws-server/static/models/human_activity_recognition.onnx

Face detection setup

  1. Download RetinaFace_int.onnx from https://huggingface.co/amd/retinaface/tree/main/weights
  2. Save it in services/ws-server/static/models/
  3. Rename the file to video_cv.onnx.

Build and run the agent

mise run build-ws-wasm-agent
mise run build-ws-har1-module
mise run build-ws-face-detection-module
mise run ws-server

The WASM build disables WebAssembly reference types so it can still load on older browsers such as Chrome 95.

Find the IP address of your laptop in the local network, which will normally be something like 192.168.1.x.

Then on your phone, open Chrome and type in https://192.168.1.x:8433/

Click "har demo".

For webcam inference, click "face demo".

Grant

This repository is part of a grant managed by the School of EECMS, Curtin University.

ABN 99 143 842 569.

CRICOS Provider Code 00301J.

TEQSA PRV12158

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors