AI core-rot detection for fruit sorting
An apple or a pear gives nothing away from the outside. Cut it open and you know — but the cut one ...
View Details →Why Not Cut
Cut one open and the rot shows itself — but a cut fruit can only be thrown away, and no amount of sampling covers a whole crate. The hard part of rot detection is not seeing the disease, it is seeing it without destroying the fruit. The system answers that with three things: light that gets through, a model that reads it, and a line that can act on it.
Near-infrared light enters the flesh and comes back out; rotten tissue carries different moisture and density, so it absorbs differently — the disease is written in the curve, not on the skin.
Three lamps — source, spectrometer, heat sink. Lose one and the curve goes flat.The curve goes into a trained model, which returns two numbers: sugar and rot share. The model is not hard-coded — one zip is one version, retrain and swap whenever.
Without a model loaded, the instrument is accurate and still says nothing.The camera watches the tray: white box around the tray, red circle on its centre, so the light path crosses the middle of the fruit. Shift the position and the curve picks up dirt.
Miss the tray and you measure its rim, not the fruit.A scanner puts a barcode on every fruit; the record, the sugar, the rot and the outlet it went to all hang off that barcode, so a complaint can be walked back to one fruit.
No barcode, and data and fruit part company — traceability ends there.The first number on the dashboard is the rate: 90 fruits a minute, one every 0.67 seconds. In those 0.67 seconds light, position, identity and judgement all have to hold — which is why every screen in the back office is really managing one of the four.
On The Line
The dashboard is the eyes of the line. On start-up, glance at four numbers: is the rate steady, how much has this batch moved, what does one fruit weigh. Each number sits next to a status lamp — when a number looks wrong, read the lamp first.
The Curve
Every row in the record list has a “curve” button. It opens that one fruit's own curtain curve: 200–1000 nm across, intensity up the side. Nobody on the floor reads the formula; they read three places.
Two Numbers
The model does not return a verdict of good or bad. It returns two numbers: sugar (°Bx) for grading, rot share (%) for rejection. Both sit side by side in every record, and each site draws its own line.
| Time | Barcode | Weight (g) | Sugar (°Bx) | Rot (%) |
|---|---|---|---|---|
| 11-25 14:30:51 | FS-004011223 | 0 | 12.2 | 23.2 |
| 11-25 14:29:23 | FS-004011223 | 0 | 15.5 | 0.3 |
| 11-25 14:27:21 | FS-004011223 | 0 | 15.3 | 0.2 |
| 11-25 14:26:16 | FS-004011892 | 0 | 14.9 | 0.1 |
| 11-25 13:33:29 | 17310422 | 229 | 87.9 | 0 |
Rot is a continuous value: 0.1–0.3% sits in the release zone, 23.2% in the reject zone. The line between them is not fixed in the software — change variety or fruit size and it has to be redrawn, which is what the training records are for.
The sugar column holds 12.2 and 87.9 — different varieties and moisture levels, completely different ranges. So models are trained and loaded per variety: change the goods on the line and confirm which zip is loaded before trusting a reading.
Find The Record
Training records are the model's food and the audit trail's evidence. A row of conditions sits above the list: time, barcode, image, spectrum, verification, AI — every one of them searchable.
Model Files
There is no mystery in the “AI model” list in the sidebar: one zip, one model, dated in the name. Three versions came out on 23 October alone, and another on 24 November — training is routine, not a project.
Swapping a model does not stop the line: pick in the list → load → the “model” lamp turns green, a few seconds end to end. Old versions are never deleted, so if the new one misbehaves a single click takes you back — rollback is part of model management, not a rescue.
Calibration
Fruit changes; the tray does not change every day. The camera does one job: find the centre of the tray so the light path crosses the middle of the fruit. Hough circles find it, and every parameter sits on the right-hand panel.
| Parameter | Value | What it does |
|---|---|---|
| Tray centre search range (white box) | 250 | Box the tray first, so the search stays inside |
| Centre alignment radius (red circle) | 10 | Centre inside the circle counts as aligned |
| Gaussian Size / SigmaX / SigmaY | 1 / 1 / 1 | Denoise strength, left at default |
| Hough circle Dp / MinDist / MinRadius / MaxRadius | 1 / 50 / 55 / 130 | The four numbers that find the tray centre |
| Averages / integration time / sampling interval | 2 / 20 / 1 | Spectrum cadence, tied to line rate |
| Pixels | 600 × 480 | Capture resolution |
You do not have to run a batch of fruit to know whether a parameter is right. Switch one frame through four views and see at once whether the box and the circle still sit where they should.




Twelve Outlets
Where does a graded fruit go? The dashboard lays the outlets out: rot on its own outlet, small, medium and large split by diameter, channels 05–12 left to the customer's own scheme. Counts and weights accumulate live.
How outlets are split is the customer's business. The system guarantees one thing: every number on every outlet can be walked back along the barcode to that curve. When a dispute comes, open the record, show the curve, two minutes.
Status Lamps
The bottom right of the dashboard holds two rows of lamps: four for the default sequence, eight for the spectral station. Whichever is red is where you look first — this is the troubleshooting order, written down.
Fifteen red and one green is a demo machine's state, but the order is real: lamp and cooling first, or the spectrometer has no spectrum; camera next, or the tray is not aligned; model green last, or the curve has no verdict. Troubleshooting starts at the lamps, not at a guess.
Back Office
Off the line there is a group of pages that never appear on a poster and are used every day: add a camera, add a scanner, delete a record, check a verification. Eight moves, one screen.








Rollout
What an inspection system fears most is running at full speed on a model that was never tuned. Split go-live into four gates, each with a condition you can verify by eye.
Camera onto the tray: box around it, circle on its centre, four Hough parameters recorded. Scanner attached to the station, IP and port answering.
Pass when: box and circle sit right in all four pixel views.Run slowly, one record per fruit; label sugar and rot by hand per variety, with neither the image nor the spectrum column missing.
Pass when: the “image - without” filter returns nothing and every column has a value.Train a zip on the labelled records; only “same” in the verification column counts as usable, and every “different” goes back to its curve.
Pass when: filtering verification by “different” is empty, and the new zip carries a date.Load the new model, watch the “model” lamp turn green; run slowly for half a day until the rot outlet matches manual sampling, then go full speed.
Pass when: all sixteen lamps are green and the old zip stays in the list.FAQ
MORE CASES
An apple or a pear gives nothing away from the outside. Cut it open and you know — but the cut one ...
View Details →An HMI built into the chamber panel: the industrial PC and the PAD run identical features, and the A...
View Details →A low-altitude logistics multimodal management system for campus and community scenarios: an on-site...
View Details →Start with our pricing logic, then let's talk requirements — cost structure, technology comparison and acceptance criteria, all laid out in the open.