Aegis FlowAegis Flow

Research log

What we tried. What broke. What changed.

A connected record of the experiments: what was tested, what worked, what failed and what changed. Each result states its scope so component progress is visible without implying a complete kitchen deployment.

MEASUREDREPORTEDDESIGNEDILLUSTRATIVEPLANNED

Three foundations already exercised

Capture. Measure. Preserve.

These are separate experiments, not one end-to-end trial. Together they show what has been built and what the next integration must connect.

01 / Camera to record

3,398 observations

A 22 October connected-camera run captured and retained observation records. These are frame observations, not 3,398 unique food items or validated source matches.

02 / Physical deposit

One-bin event logic

The 27 October trials distinguished marked additions from temporary pressure and recorded removal separately. Calibrated mass accuracy and source attribution remain separate questions.

03 / Durable delivery

1,354 records recovered

The 26 October recovery test retained the source records through tested software restarts, with zero missing or duplicate stored records. This was not a physical power-cut test.

The next proof joins calibrated physical measurements, labelled visual observations and checked batch attribution in the same trial. A signed record protects its history; it does not prove the original measurement or label was correct.

The rig series · May to September 2026

Five rigs. Each failed in a way that shaped the next.

WhenWhat we triedWhat went wrongWhat changed
12–28 May 2026Rig 1: one camera and scale over one binIn a mixed heap, the source of every piece was lost.Watch the food upstream, before it reaches the bin.
4–22 Jun 2026Rig 2: two cameras and crate tagsAbout 40% of tags came off in hot washdowns; loose produce broke the link; extra staff work.No tags. Rely on cameras and weights.
23 Jun–6 Jul 2026Off-the-shelf trackers: DeepSORT, ByteTrack, JPDAPeel does not look like its parent item; hands and tools block the view.Trackers kept as baselines only.
10–29 Jul 2026Rig 3: scales under the cutting boardKnife impacts of 30–80 N swamped the signal; heavy filtering added about 3.2 s and hid small changes.Weigh at rest, away from the board, and at the bins.
5–26 Aug 2026Rig 4: three cameras, three scales, two temperature sensors, edge computer—Adopted as the final set-up.
1–15 Sep 2026Rig 5: detection and matching software on the final hardwareTwo-bin event structure works; the matcher underperforms.Matcher redesign; coverage must improve.
10–20 Sep 2026Prototype matcher against timing rules, 268 depositsRight on 94% of the deposits it assigned, against 52–65% for timing rules, but it assigned only 13%.Match on time, weight, appearance and position together; raise coverage.

REPORTED Historical rig findings retain their source-reported status. Later matching, camera, one-bin and record-delivery experiments have their own packages and scopes; they do not retrospectively validate every earlier rig claim.

Camera positions. Eight mounting positions were trialled over the same tasks. Only three were usable: overhead at the board, above the bin, and over the incoming stock. Every angled view was blocked by a forearm, a body or the food in front.

Continuous capture. Still photos had shown a tidy kitchen that does not exist during service. Continuous video with frame selection by sharpness replaced the trigger.

Labels. “Useful” and “waste” are not things a camera can see. The model learns the material; the kitchen’s rule is configuration.

The detector series · 17 to 24 September 2026

Six training runs, every number from a run record.

  • The supplied dataset's own split leaked: 53% of validation and test images were augmented copies of training images. Regrouped by source photograph, the leak is 0%.
  • 720 images (11%) had empty labels while containing produce. Removing them gave the biggest per-class gains.
  • Recall falls with crowding: 1.00 for a single object, 0.46–0.75 at 20 or more. The bench is always the crowded case.
  • Validation score and live-bench behaviour disagreed twice. A bench-domain validation set is needed before further model selection.
  • Restrictive augmentation (colour and mosaic off) was measured to be harmful and retired.
  • Final model YOLO26n (2.5M parameters): mAP@50 0.789, mAP@50-95 0.612, precision 0.830, recall 0.726. Above the earlier YOLOv11s at 0.769, at a quarter of the size.

Final model of record · hn-v6-yolo26n

MEASURED
mAP@50
0.789
mAP@50-95
0.612
precision
0.830
recall
0.726
classes
15
split
15,393 / 4,333 / 2,240

Run record written 24 September 2026. Eight days elapsed; about 9 hours of GPU time across six runs; the final run took 3.46 h on an RTX 4060 laptop. Still open: green capsicum, coriander and potato recall; no bench-domain training data yet; the Ultralytics AGPL licence.

The Raspberry Pi 5 series · 17 to 28 October 2026

Component tests on the experiment rig.

Each report separates completed tests from pending live-camera, third-model and full sensor-pipeline validation. None of these is an end-to-end result.

  1. 20 Oct 2026

    Useful-model NCNN conversion

    240-frame video from 59.42 s to 22.26 s, about 2.67× throughput. Single recorded-video comparison.

  2. 21 Oct 2026

    Two models in parallel on Pi 5

    At input 480 the CPU fell from 74% to 40% with both models at 5 FPS; smaller inputs introduced detection errors.

  3. 22 Oct 2026

    Live camera run

    6 min 15 s, 3,398 observations at about 9 FPS, mean prediction call 76.7 ms. All reached the ledger; integrity verified.

  4. 23 Oct 2026

    Three models, balanced scheduler

    Mean analysed-frame delay from about 380 ms to 146–150 ms at about 2.73 FPS per model. A latency result, not an accuracy result.

  5. 23 Oct 2026

    Rotten model comparison

    On the same 1,492 images: 93.80% vs 93.31% mAP50-95. Train/test overlap unverified.

  6. 24 Oct 2026

    Simulated short appearances

    Time to first result 405 to 220 ms (cucumber), 414 to 212 ms (onion peel). 3 of 150 appearances missed.

  7. 26 Oct 2026

    EXP08 transfer-pause recovery

    Expected observations recovered without duplicates; 1,663 signed records verified.

  8. 26 Oct 2026

    EXP05 JPDA replay

    238 observations verified. Tracking drifted; reliable identity tracking not yet demonstrated.

  9. 26 Oct 2026

    EXP12 signing and tamper

    6,454 checks: 407 originals verified, 3,194 field changes rejected, 814 replays created no records.

  10. 26 Oct 2026

    EXP10 restart recovery

    1,354 records recovered with original IDs; 0 missing, 0 duplicates, 0 pending. Software recovery only.

  11. 27 Oct 2026

    Live bin-to-ledger

    Two additions recorded separately, a disturbed trial flagged, a clean removal not counted as waste.

  12. 27 Oct 2026

    Bin stability pilots

    Stability filter rejected 5/5 pressure disturbances and detected 5/5 marked deposits; 1,430 records reconciled. Calibration limits recorded.

  13. 27 Oct 2026

    EXP04 closely spaced deposits

    14 complete events across 8 trials; one incomplete extra trigger from accidental contact.

  14. 28 Oct 2026

    EXP11 five-portion delivery

    Normal, duplicate, shuffled, delayed and receiver-restart scenarios all passed. Weight calibration unverified.

  15. 28 Oct 2026

    PHY-4 fine-tuned fresh model

    19/19 frames for cucumber and capsicum, zero false known-label detections on 76 reused frames, about 80 ms per call. Not independent validation.

MEASURED Each entry has a report with graphs, decisions and limitations, plus raw logs, code and signed records in the project evidence folders. Available to reviewers on request.

PHY-02 · bin-scale sensing

Making a few grams visible on a bench that never sits still.

Garlic skin and onion skin weigh only a few grams. Vibration from below, hits on the bin, resting hands and wet waste are all of the same order. Five sensing options were tested one at a time, with the event logic downstream left unchanged, so each difference could be attributed to that option alone.

CodeConditionWhat it measures
QBEmpty bin, appliances off, no contactElectrical noise on its own
OBEmpty bin, fridge and fan runningVibration from below
IMRepeated impact-fixture releases on the benchImpact response
ABFoot taps, pushes against the bin, hand rests on the rimDisturbances from above
DPReference masses placed and removed; wetted peelSettling, smallest clear deposit, dripping
DriftConstant load for several hours, morning and afternoonLong-term drift

E1 · Converter sampling rate, 10 vs 80 samples per second

At 10 SPS the empty reading was calm and few-gram deposits stood out, but settled late. At 80 SPS it settled sooner, but the noise band widened and the smallest deposits were hard to tell from noise. Speed and quietness pulled in opposite directions.

E2 · A higher-rate converter with frequency analysis

An impact is a fast shake; a deposit is a slow step. At HX711 rates a fast shake cannot be captured faithfully, so an ADS1220 was tried to separate the two in the frequency domain.

E3–E5 · Mounting materials and an auxiliary vibration sensor

Two mounting materials and an accelerometer were tested against the same protocol, including multi-hour drift runs morning and afternoon.

REPORTED From the PHY-02 story and test procedure guide (21 October 2026). The dry-run datasets on file are labelled synthetic; kitchen recordings are held in the project evidence folders.