Skip to content

ML-03: On-Device Inference with ONNX / TFLite #43

@jpdevhub

Description

@jpdevhub

The Idea

Right now, the freshness ML model runs on the server. We want to move it to the edge! Running the model directly in the browser using ONNX Runtime Web means zero latency, full offline capability, and better privacy.

What needs to be done

  • Convert our PyTorch model to ONNX format.
  • Integrate onnxruntime-web in the frontend.
  • Update the PWA so it doesn't need to hit the /api/v1/scan-auto endpoint when offline.

This is a hardcore ML and Frontend task that will make the app extremely robust. Perfect for someone looking for a serious challenge!

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions