Aegis FlowAegis Flow

Technology

Seeing the ingredient. Establishing the connection.

Vision identifies material; load cells measure mass. The proposed matching layer asks which observations belong to the same physical event. Supported matches receive an ingredient and batch link. Unresolved deposits retain their measured mass without an invented identity.

peel zonecutting zoneSENSOR-RAWEDGE-01CAM-RAWCAM-PEELCAM-ROTTENBIN 1 · peelSENSOR-PEELBIN 2 · rottenSENSOR-ROTTEN+38 g · settled

The proposed full station

Three cameras, three scales, two bins, one edge unit.

The full architecture also includes two temperature channels. This is a design configuration, not a claim that every device has been validated together. Experiment rigs use documented subsets; current compute measurements come from a Raspberry Pi 5.

PartQtySpecificationIdentifier
Load cells3Single-point, 1–5 kg, with HX711 (ADS1220 under test)SENSOR-RAW / PEEL / ROTTEN
Cameras31080p UVC USB on rigid overhead mounts, diffuse LED rings, splash coversCAM-RAW / PEEL / ROTTEN
Temperature channels2T1/T2 in the full architecture: context for drift and sensor health, not spoilage detection. Complete installation unqualified.T1 / T2
Edge computer1Linux mini-PC or Pi-class board, SSD, RTC, active coolingEDGE-01
USB hub1Powered USB 3.0—
Foot pedal1Optional hands-free confirmationINPUT-01

Upper shelf. Camera 1 and the intake scale record stock presented for preparation. This starting mass is separate from purchased quantities recorded from supplier documents.

Preparation views. The illustrated pilot arrangement observes peeling and cutting before material reaches two independently weighed bins. Camera angles and mounting need qualification on the actual rig.

Temperature. T1 and T2 support drift correction and operating context in the full design. The fusion experiment guide specifies a smaller rig with TEMP_1. Temperature does not establish spoilage.

The pipeline

Eighteen stages in six blocks.

The Technical Design and R&D Record carries the complete architecture from physical observation to a human decision. Each block depends on the evidence and guarantees produced before it.

01–05

OBSERVE

  • Physical event
  • Sensing
  • Image-quality gate
  • Vision inference (three paths)
  • Mass and thermal channel

06–10

DECIDE

  • Common time base
  • Look-back buffers per camera
  • Independent event state machines
  • Stage 09: sensor fusion
  • Event builder with confidence bands

11–12

PRESERVE

  • Durable local queue with sequence numbers
  • Store-and-forward, ordered replay

13–15

PROVE

  • Ingest validation
  • Canonical payload, signatures and retained checkpoints
  • Verified event store

16–17

LEARN

  • Features, training, registry with a gate
  • Reviewed uncertain events fed back

18

USE

  • Dashboard, reports, read-only assistants

Record through 28 October 2026: detector and Pi 5 experiments, one-bin physical trials, offline matching prototypes, software recovery, SSH/HTTP delivery and signed local records exist. The complete three-camera/sensor pipeline, calibrated mass accuracy and parent-to-waste attribution remain unqualified. Production radio, consensus ledger and the connected learning/reporting services remain proposed.

Stage 09 · event association

One supported explanation. Or an explicit unknown.

The 23 October design combines independent bin state machines, layered camera verification and a scored matcher. It checks both the strength of the best candidate and the gap to the next. Thirteen proposed steps make the decision reproducible; the complete method is not yet a validated system result.

  1. 01Ingest camera and scale observations; keep event and arrival times and apply the measured clock offset.
  2. 02Validate message identity and sequence; flag duplicates, missing times, stale sources and impossible values.
  3. 03Run an independent state machine for each weighing point. Only stable mass events enter matching.
  4. 04Calculate settled mass minus that bin’s valid baseline; keep removals as a separate event type.
  5. 05Collect camera evidence from the correct zone and frame-time window. Group repeated views of one tracked object.
  6. 06Collect eligible open batches from the intake history, within a bounded age.
  7. 07Check class, bin and batch compatibility; retain rejected alternatives in the evidence trail.
  8. 08Check for competing mass events on other bins without merging their measurements.
  9. 09Compare recent confirmed events on the other bin for supporting or conflicting batch identity. Share identity evidence, never mass.
  10. 10Score the remaining mass, camera and batch combinations using the configured evidence terms.
  11. 11Apply the match and ambiguity-margin gates. Match, review, leave unresolved or reject a contradictory pairing.
  12. 12Save the decision, evidence, candidates, scores, reasons and model/configuration versions.
  13. 13Advance only this bin’s baseline, keeping raw evidence so the decision can be replayed.

Seven verification layers

Frame visibilityDetectionObserved actionZone and binTime alignmentMeasured massAssociation

The illustrative score combines six terms: timing, mass plausibility, class compatibility, zone agreement, visibility and cross-bin identity consistency. Its weights, windows and score-combination method require labelled experiments. Detection accuracy alone evaluates only one layer; it does not prove a correct match to a mass event.

The cross-bin check can corroborate a batch identity using a recent confirmed event. It cannot move, combine or duplicate measured mass between bins.

Result states

MATCHEDREVIEWUNRESOLVED · measured, unassignedREJECTED · contradictory pairingSENSOR_FAULTVISION_ONLY

A vision-only event has no measured mass. A sensor fault is not a trusted weight. An unresolved event can retain a valid mass without an assigned ingredient. These states keep different kinds of missing evidence separate.

Confidence bands must be calibrated against labelled outcomes. Calling a decision “high confidence” is a claim to test, not a guarantee created by the label.

“Fusion never invents data.”
“A mass step is evidence of an event, never evidence of an identity.”
Sensor Fusion Working Document rev 1.2 · 23 Oct 2026 · no measured result reported

How it got here

Four architecture versions.

The fusion working document records this sequence and the problem behind each change. Architecture versions describe the matching logic; they are separate from the physical rig versions.

V1

Two cameras, one bin, nearest-time matching and a class lookup.

Why it changed: Timing alone could attach a deposit to the wrong nearby action.

V2

Three cameras, one shared bin and scale.

Why it changed: One total weight could not separate preparation waste from spoiled material.

V3

Three cameras and two bins, verified together.

Why it changed: The two waste streams arrive at different times; requiring both to agree together dropped valid events.

V4

Independent bin states and look-back histories; batch links checked afterwards.

Why it changed: Current design. The two-bin software structure exists offline; matching performance needs integrated proof.

Methods considered and set aside

Kalman family

No continuous state to estimate.

Late-fusion voting

Mass cannot name a material and vision cannot weigh one.

Fixed-window association

The offset varies with mass, release height and device load.

DeepSORT, ByteTrack, JPDA

Peel does not look like its parent item; kept as baselines.

Timing rules (“latest batch”)

Wrong on 35–49% of the deposits they assigned (reported).

Detector confidence as trust

Stays high when the view is poor; image quality is measured separately.

Off-the-shelf trackers were trialled in June and July and kept as baselines; no literature review of tracking is claimed.

Open questions

What is still uncertain.

Component experiments have measured specific behaviours. These four practical questions remain central to the next integrated tests: full-system thresholds, confidence calibration and acceptance limits need labelled sessions and independent reference measurements.

U-A

Is the association method itself good enough, and is its confidence calibrated?

U-B

Can a true weight be recovered from a scale that never settles, and can drift be told from real change?

U-C

Can a deposit be matched when the camera view is blocked?

U-D

Can event order be rebuilt after a dropped connection?

Edge deployment

What runs on a Raspberry Pi 5 today.

The experiment rig uses a Pi 5 for prototyping and staged integration. Final approval for all three models and the complete fusion pipeline needs full live-system testing: two unrestricted models already used about 90% of the CPU.

2.67×

MEASURED

throughput after NCNN conversion on a 240-frame video (59.42 s to 22.26 s)

76.7 ms

MEASURED

mean prediction call over a 6 min 15 s live run at about 9 FPS

146–150 ms

MEASURED

mean analysed-frame delay with a balanced scheduler, from about 380 ms

74% → 40%

MEASURED

CPU with two models at 5 FPS when input fell from 640 to 480 (with detection errors at smaller inputs)

From the October 2026 Raspberry Pi 5 experiment reports. These are latency and resource results, not accuracy validation. The Ultralytics AGPL licence must be resolved before any deployment of the detector as a product component.

The hard part

A mass step says something happened. It never says what.

When a bin scale settles, the edge unit looks back through the recent camera history, collects every plausible source, rejects the impossible ones, scores the rest on seven kinds of evidence, and either attributes the deposit with a confidence, holds it for review, or records it as measured but unassigned. It never guesses.

One deposit · two signals · one decision

CAM-PEEL · tracksSENSOR-PEEL · massEDGE-01 · decisionlook-back [t0 − W, t0] · W illustrativet0 − Wt0time →outside W · ignoredonion · crossinghandonion Aonion B+38 g · settledonionhandonion Aonion BACCEPT · HIGHHOLD · REVIEWtop two within the ambiguity margin: choose neither
Figures and timings are worked examples, not measurements.

Seven kinds of evidence, drawn from different sources

timeobject identityclass relationshipmotionmass plausibilityzonesignal pattern

Combined as a weighted score. The additive form is itself a hypothesis and the weights are unfitted; the overlap between the tests is to be measured, not assumed away.

Method fully specified · Sensor Fusion Working Document rev 1.2, 23 Oct 2026Component tests pass on Raspberry Pi 5End-to-end trial not yet run

“Fusion never invents data.”

“A mass step is evidence of an event, never evidence of an identity.”

Why the labels are not “useful” and “waste”

The camera learns the material. The kitchen sets the rule.

A carrot top and a plastic wrapper look nothing alike, yet both are waste. Onion skin and vegetable peel look alike, yet one kitchen keeps one of them. So the detector learns concrete material classes, and what counts as waste is a configuration setting, not something trained in.

Disposition mapping · config/disposition.yaml

Same detector, same classes. Flip the kitchen rule and watch the mapping change, with no retrain.

Detector · learned · 32 material classes · config/taxonomy.yaml

learned
whole_oniononion_fleshallium_skinveg_peelbrassica_stalkcarrot_topherb_stembonepackaging_filmcardboardhandmixed_fragment+ 20 more
image → material class

Disposition mapping · not learned · config/disposition.yaml · per site

not learned

# config/disposition.yaml · Kitchen A

brassica_stalk: waste

# carrot_top, herb_stem: waste

useful

to the ledger, auto

2
  • whole_onion
  • onion_flesh

waste

to the ledger, auto

6
  • allium_skin
  • veg_peel
  • brassica_stalk
  • carrot_top
  • herb_stem
  • bone

packaging

to the ledger, auto

2
  • packaging_film
  • cardboard

review

a person, never auto

2
  • hand
  • mixed_fragment

One line of YAML. A kitchen deciding broccoli stalks are now stock is a configuration change, not a new dataset.

Itemised reporting. The system says what was discarded, not merely that something was.

Somewhere for doubt to go. Indeterminate material goes to review instead of being forced into a confident answer and written to an immutable record.

The whole system, end to end

Eighteen stages. Six blocks. One record chain.

Seven sensors feed one sealed edge unit. It names the material, anchors the mass, matches the two, and writes an event. Events queue locally, cross the radio, are validated and hashed, and reach the owner. Reviewed events feed back into training. Built parts are marked; the rest is designed.

events today1240accepted78%held for review14%unassigned8%queued, offline2chainverifiedSIMULATED FEED · the full system has not yet run end to end
SENSEthe benchEDGE-01sealed unitPRESERVE11–12PROVE13–15USE18CAM-RAW · stock shelfCAM-PEEL · peel zoneCAM-ROTTEN · cutting zoneSENSOR-RAW · shelf scaleSENSOR-PEEL · bin 1SENSOR-ROTTEN · bin 2RTD · bench temperature~40 Mbit/s raw ↓OBSERVE01–0501 physical event02 sensing03 image-quality gate04 vision inference ×305 mass + thermal channelPARTLY BUILTDECIDE06–1006 common time base07 look-back buffers08 five-state event machine09 sensor fusion · stage 0910 event builder · HIGH/MED/LOWPARTLY BUILTeventsPRESERVE11–1211 durable queue · SSD GUID + sequence no.12 store-and-forward ordered replayPARTLY BUILTLoRaWAN · ~200 B/eventnot builtPROVE13–1513 ingest validation auth · sequence · dupes14 SHA-256 · signed permissioned ledger15 event storeNOT BUILTUSE18weekly reportmonthly summaryevent registerreview queueverifierNOT BUILTLEARN 16–17 · reviewed UNCERTAIN events → retraining · registry gate · not built09

Cyan packets are camera observations; amber are mass and temperature readings. They meet at stage 09, where a settled mass step is matched against the look-back buffers. Anything the edge unit cannot resolve leaves as review, never as a guess.

Status, October 2026. OBSERVE and DECIDE: detectors trained and running on a Pi 5; no image-quality gate yet; matcher prototyped offline. PRESERVE: local queue and ordered replay built; radio link not built. PROVE: record signing checked (6,454 tamper checks); ledger not built. USE and LEARN: designed; clickable prototype exists.

event feedSIMULATED · not a live kitchen