Work/Machines/Trrimber
On-device computer visioniOS + AndroidOffline-first

Trrimber

Measure stacked timber in the field with a phone camera, on-device detection and a PDF report, even with no signal.

ROLESole builder
TYPEOn-device computer vision
HARDWAREiOS and Android phones
STATUSLive on App Store + Google Play
TRY IT · hands on

Play with a small version

A simplified, in-browser version of how Trrimber works. Nothing here talks to the real system.

ARCHITECTURE · how it flows
  1. Phone camera
  2. TFLite YOLOv8
  3. Reference calibration
  4. Volume calculation
  5. Offline store
  6. Sync to API + S3

The phone runs the model. Diameter is calibrated against a reference object, volume is count × π × r² × length, and captures wait in local storage until the API is reachable.

01 · Overview

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.

GOAL

A field-ready workflow: capture, detect, measure, report, sync later. Counting logs must never need the cloud.

02 · What I built

The key decisions

01

On-device YOLOv8 (TFLite float16, 640 × 640 input) with diameter calibrated to a reference object, volume calculation and A4 PDF reports.

02

Offline-first storage that syncs every 5 minutes or on reconnect, with GPS, species and buyer details on each capture.

03

A continual-training pipeline: filter, auto-label, retrain with Ultralytics, export to TFLite and ship in the app.

03 · Challenges

What was hard, and what I did

CHALLENGE

No network in the forest

WHAT I DID

Offline-first local storage with background sync, so capturing never needs the API.

CHALLENGE

Cloud inference too slow and fragile

WHAT I DID

On-device TFLite float16, so detection runs on the handset.

CHALLENGE

The model drifting over time

WHAT I DID

A continual-training loop, so new weights ship in app updates.

WHERE IT STANDS

Live on Google Play and the App Store, measuring offline in the field. Field accuracy figures are not published yet.

04 · Results

The numbers

640²model input, conf > 0.5, NMS IoU 0.6model config
5 minbackground sync intervalproduct
2 storesApp Store and Google Playlive

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.

06 · Stack

Built with

TECHNOLOGY
FlutterRiverpodTFLiteYOLOv8HiveREST APIS3Python / Ultralytics / PyTorch
HARDWARE
iOS phonesAndroid phones
MY ROLE

Sole builder: Flutter app, on-device ML, offline sync, volume and PDF, backend API and the training pipeline.

Building something like Trrimber?

I'm happy to walk through the architecture and trade-offs on a call.

Book a 20-min call →