PortMind
20 photos I boxed by hand, plus a teacher model, got a small truck detector just past its pass mark, on one camera. Before, every truck had to be boxed by hand. Thirteen experiments so far on how few hand labels it needs, for $15.01 of compute.

Who it’s for
PortMind is my own research. Since January 2026 I have been collecting photos from six public cameras watching truck and container traffic. By October 30, 2026 there were 181,383 of them.
It’s useful if your team has cameras or scanned documents and wants to know how many labels a model needs to read them.
The problem
I wanted a small model that finds the trucks in those photos. Somebody has to draw a box around every truck before a model can learn from it, and that’s the slow, expensive part. So I’m asking how few hand labels are enough.
I set the pass mark before any run. The model has to find at least 7 of 10 trucks, and at least 8 of 10 of its boxes have to be real trucks.
My first version had 1,744 labelled images. Then I found that every label had gone through an AI agent. I checked 120 hard cases myself and disagreed with 72. I took the old results down and started again.
What I built
A collector on Cloudflare checks the six cameras every three minutes and keeps each photo with its time and its source.
I draw the boxes by hand on a private page, without seeing what any model said. Test photos are always boxed blind.
I score every model the same way, on a bench of 100 practice photos that were all labelled blind. A ledger keeps every run.
Before each experiment I write down the question, the pass mark and the budget. The pass mark never moves. A failed run stays on the record. Each GPU session has a spending cap and a time limit, and the machine is shut down when the session ends.
How it was built
Training runs on rented Lambda GPUs. The teacher is a YOLO11l detector fine-tuned on my hand-labelled photos, and the student is a small detector.
What changed
Thirteen experiments
13 experiments so far: 11 scored, 2 on hold, $15.01 of compute in total.
The early ones failed. Big models used as teachers missed small, distant trucks. A model trained on one camera did badly on another.
Twenty photos that I boxed by hand, all from one camera, got the small model to about 55% of trucks found, with 70% of its boxes right.
Then I found a bug in my own setup. The strip that hid the camera’s timestamp also hid real trucks: 31 of 213 in the training photos and 83 of 596 in the bench. With that fixed, the model found about two-thirds of the trucks, and about seven in ten boxes were right. Still short of the mark.
What worked
I fine-tuned a larger detector on my 10 or 20 hand-labelled photos and used it as a teacher. It boxed the unlabelled photos, and the small model trained on those boxes along with my own.
| Training photos | Score (F1) |
|---|---|
| 20 boxed by hand | 64.40% |
| 20 boxed by hand, trained just as long | 67.47% |
| 20 by hand + 180 boxed by the teacher | 75.45% |
| 20 by hand + 540 boxed by the teacher | 78.47% |
| 20 by hand + 1,080 boxed by the teacher | 78.78% |
With 1,080 photos from the teacher, the small model found 77.96% of the trucks and 81.06% of its boxes were right. That clears the mark, but only just, and on practice photos I had already used three times.
Ten hand-labelled photos plus the teacher’s boxes beat twenty hand-labelled photos alone.
What’s still open
- Everything above is one camera. The real exam is a camera the model has never seen, and I haven’t run it.
- Nobody else has checked my labels yet. A second reviewer will check them before the exam.
- The teacher can’t check labels in my place. Against my boxes it scores 0.800, and the bar I set was 0.900.
If your team is training a model on its own cameras or documents and wants to know how many labels it needs, I’d like to hear about it.
How it works
1 · A 20-MINUTE CALL
You show me the last time someone did the job.
2 · A TWO-WEEK TEST
On your own data, at a fixed price. We write the pass mark down before I start.
3 · A YES OR A NO
You get the score. If it’s a yes, you get a fixed price for the build.
We agree the scope in writing before I start. I work in phases: the first one gets a working version into your hands as fast as possible, and you see it on a private link before anyone else does. I release in stages, with a way back if something fails, and I tell you what isn’t finished. After launch I keep an eye on it and fix what breaks. When we’re done, you can run everything yourself or have me run it. Most of Dragon Libre was built in five weeks.