Skip to content
Silodisa AI

Silodisa AI · Weekly log · Issue 11

5

5 photos in 8 seconds: the checker that warns but never stops a truck

By Miguel Marengo Canales · Silodisa ·

In 30 seconds

  • Before loading, Quality takes 5 photos of each truck. The app’s lock counts them, but doesn’t look at them.
  • A new checker measures each photo (size, brightness, sharpness, repeats, time) with an 8-second limit and answers ok, review or retake, with a clear sentence on the phone.
  • It never blocks and doesn’t replace Quality. It was calibrated with 25 real photos: only one limit changed, so good photos don’t set it off.
  • 5 photosper truck, each one checked
  • 8 secondslimit to measure them
  • 3 answersok, review or retake
  • 25 real photosto calibrate; 1 limit changed
5 photos · one checker · 3 answers phone checker8 s limit ok review retake the inspection is saved anyway
Five photos, three answers. The checker measures each photo as it is saved and warns on the phone. It never stops the inspection.

A blurry photo doesn't show the day it's taken. It shows three weeks later, when someone asks what condition a truck's trailer was in and the only evidence is a gray smudge.

By then it can't be retaken. The truck is gone, the load was delivered, and the photo is stored, complete and useless.

On November 21 we put into production a small piece that goes after exactly that problem: an automatic checker that looks at the 5 photos of each truck the moment they're saved, and warns if any of them won't be usable. It has one rule that, to me, matters most: it warns, but it never stops anyone.

01Why five photos

Before loading, and again when the truck arrives in the yard, the Quality inspector checks the trailer and takes 5 photos with a phone. The quality standards we work under require that evidence, and the app won't save the inspection if photos are missing.

But that lock counts photos; it doesn't look at them. Five photos of the floor, five dark photos or the same photo five times all pass. The lock says "there are 5," and it's right.

The new checker does the missing part: it opens each photo and asks whether anyone could use it later.

02What it checks in each photo

It isn't magic, and it isn't a model that "understands" the image. They're simple measurements on the pixels, the kind any photographer understands:

  • Size: whether it came out too small, with low resolution.
  • File weight: if it weighs almost nothing, it may be empty or damaged.
  • Brightness: on a scale from 0 (black) to 255 (white), below 35 is "too dark" and above 240 is "blown out."
  • Contrast: an almost flat photo is usually a covered lens or a blank wall.
  • Sharpness: whether it came out blurry or shaky.
  • Repeats: whether it's exactly the same photo as another one, or an almost identical shot.
  • Time: whether the photo was taken more than 6 hours before or after the inspection.

And for the set: that all 5 arrive and that they're different from each other.

03Three answers, in plain words

The result is one of three: ok, review or retake, for each photo and for the whole inspection.

What the inspector sees on the phone isn't an error code. It's a sentence like this: "photo 3 came out blurry. Take them again if you can; if not, the inspection is saved and Quality decides."

If there's a good reason to go ahead, they can write it in an optional field of up to 200 characters, and that reason stays with the result.

04Why it never blocks

In earlier issues I described rules that do stop things: the seal that won't let a software release out with a number in the red, or the auditor that halts a deployment if two calculations don't match. This piece is the opposite, on purpose.

A truck waiting at the dock costs money. And the checker only measures pixels: it doesn't know that the dark photo was the only one possible because the trailer has no light. That decision belongs to a person.

So these are the rules:

  1. It warns and doesn't stop. The 5-photo lock is the same as before; the checker adds none.
  2. It doesn't replace Quality. Quality always validates, as before. The checker just tells them where to start.
  3. If something fails, it stays quiet. If the checker hits an error, it doesn't run and records nothing. The inspection is saved as usual.
  4. It has 8 seconds. That's its limit to measure the 5 photos. Any it can't get to are marked "review," unmeasured, so no one thinks they passed.
when the inspection is saved save lock: 5 photossame as before checker ≤ 8 swarning on phone Qualityalways checks if it fails: silent warns · doesn’t stop · doesn’t replace
It warns, it doesn’t stop. The checker runs next to the lock that already existed. If it fails, it records nothing; the decision is still Quality’s.

05No one else's AI

Everything is calculated on our own server, without sending the photos to any outside service. And what the result stores are numbers: brightness, sharpness, size and a short fingerprint of the photo. It never stores the image again or copies it anywhere else.

I like that combination: the most useful piece of the week didn't need artificial intelligence. It needed to know what to measure and where to draw the line.

06Calibrating with real photos

The first limits came from test images made by hand: one sharp, one blurry, one black, one repeated. They prove the checker works, but they don't tell you how real photos from the floor come out.

That same day we calibrated it with 25 real photos from production:

  • 10 good ones: all 720 × 1280 pixels, 26 to 65 KB, with brightness of 130 to 157 and sharpness of 119 to 1,500.
  • 15 black frames left over from testing, with brightness of 1 to 5. All 15 came out "retake," as they should.
brightness · 0 black to 255 white retakeokretake03560225255 15 black · 1 to 5 10 good · 130 to 157 25 real photos · Nov 21
Where 25 real photos landed. The 15 black ones came out “retake”; the 10 good ones stayed far from both edges. The brightness limits were confirmed.

The brightness, sharpness and resolution limits were confirmed. Only one changed: the minimum file weight for "review" went down from 25 KB to 18 KB. The good phone photos started at 26 KB, too close to the line.

file weight · KB retakereviewok was 25 now 18 0818254065 10 good · 26 to 65 KB the only limit that changed
A limit that was too jumpy. Good photos started at 26 KB, right against the 25 line. It was lowered to 18 KB so the warning doesn’t go off on good photos.

It looks like a detail, but it's the one that decides whether the tool is useful. A warning that goes off on good photos teaches people to ignore warnings. And a warning no one reads is worse than having none.

If the checker gets the good photos wrong, the problem isn't one photo. It's that people stop believing it.

07What we don't know

  • What's in the photo. The checker knows whether a photo looks right; it doesn't know whether the trailer is clean, or whether they photographed the right truck. Quality still sees that.
  • Whether 10 good photos are enough. They're from one kind of phone and a few days. In the rain, at night or with another phone, the numbers may shift.
  • How often photos will be retaken. We don't have weeks of data yet to know how many warnings end in a new photo and how many in "go ahead anyway."
  • How long saving takes. Reading 5 photos adds time; the limit is 8 seconds, but it still needs to be measured with large photos and a weak signal.

08What comes next

Over the coming weeks we'll count how many inspections come out ok, review and retake, and how many of the ones marked "review" Quality ends up accepting. If a limit is too jumpy, it's changed in a configuration file, without touching the program.

AI recommends; people decide. This time it isn't even AI: it's a simple rule that warns in time. BIEN y a Tiempo (done right and on time) also means the evidence works on the day someone needs it.

Videos · Silodisa

Clear videos about how we operate

Introduction, uRoutes app-by-app catalog, WMS, TMS, CRM, receiving, dispatch, and platform. Click to watch full screen.

View full library