The problem
Forestry vendors measure logs by hand in yards with poor signal, and cloud-only vision stops working when the connection does.
A Flutter field app. Detection runs on the phone with TFLite YOLOv8, captures are stored offline, and everything syncs later.
A field-ready workflow: capture, detect, measure, report, sync later. Counting logs must never need the cloud.
The key decisions
On-device YOLOv8 (TFLite float16, 640 × 640 input) with diameter calibrated to a reference object, volume calculation and A4 PDF reports.
Offline-first storage that syncs every 5 minutes or on reconnect, with GPS, species and buyer details on each capture.
A continual-training pipeline: filter, auto-label, retrain with Ultralytics, export to TFLite and ship in the app.
What was hard, and what I did
No network in the forest
Offline-first local storage with background sync, so capturing never needs the API.
Cloud inference too slow and fragile
On-device TFLite float16, so detection runs on the handset.
The model drifting over time
A continual-training loop, so new weights ship in app updates.
Live on Google Play and the App Store, measuring offline in the field. Field accuracy figures are not published yet.
The numbers
Only numbers I can back up are shown here. Where a figure is self-reported or from a benchmark I haven't re-run, it says so.
Screens and hardware
Built with
Sole builder: Flutter app, on-device ML, offline sync, volume and PDF, backend API and the training pipeline.