weekly log · issue 11 · the photo checker
5 photos in 8 seconds: the checker that warns but never stops a truck
An automatic checker measures the 5 photos of every truck the moment they are saved and warns if any of them won’t be usable. It has 8 seconds, uses no one else’s AI and never stops an inspection.
- 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.
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.
Why 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.
What 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.
Three 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.
Why 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:
- It warns and doesn't stop. The 5-photo lock is the same as before; the checker adds none.
- It doesn't replace Quality. Quality always validates, as before. The checker just tells them where to start.
- 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.
- 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.
No 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.
Calibrating 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.
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.
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.
What 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.
What 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.
In your operation, how many of the evidence photos you keep would actually hold up if there were a claim tomorrow? Write to me.
Miguel Marengo Canales · Silodisa
Comments
comments · I answer every one. If you disagree, even better: say it with numbers.