FICTIONAL DEMONSTRATION · synthetic CC0 images · not client work, not evidence of performance on any real line
Longlot Vision
Fixed-station feasibility
Case
DEMO-CAP-001
Customer
Fictional Bottling Co. (demo)
Station
Line 2 · capper outfeed · fixed camera
Issued
2026-10-31

Vision Feasibility Review

The check: Is the cap visibly present in the fixed view? Can it be measured reliably from the recorded footage you provided, before anyone buys cameras or hardware? This report answers that question for one check at one fixed station. It supports a person's decision; it does not stop machines, reject product or make safety decisions.

Recommendation

NO-GO

Decision rule, agreed before testing

Missed absent cap (FN rate) ≤ 5.0%  and  false alarms (FP rate) ≤ 10.0%

Agreed by Fictional QA lead on 2026-10-31. GO only if, on held-out recordings, the 95% upper confidence bounds of BOTH the FN rate and the FP rate are within the agreed limits, every observed operating condition meets the limits on its own point estimate with enough examples to be tested, and the label definition passed its check. NO-GO if the overall point estimate already misses a limit, or any condition misses a limit even at its 95% lower bound. Anything else is MORE EVIDENCE: the data neither supports nor rules out the check.

Missed failures
1.3%
2 of 157 · 95% CI 0.4–4.5%
False alarms
8.1%
19 of 236 · 95% CI 5.2–12.2%
Held-out frames
393
10 independent recording groups
Label check
PASS
kappa 0.94 · unsure 3.1%

Why

1The question and the labels

CodeLabelDefinition used by labellers
PPresentPresent: the cap is visible and fully seated in the region of interest.
AAbsentAbsent: the cap is missing from the region of interest (the failure the customer wants flagged).
UUnsureUnsure: cannot be decided from the image (occluded, blurred, partly seated, out of view).

The failure the check must catch is absent. A false negative (FN) is a real failure the check would have missed; a false positive (FP) is a good part flagged for a person to look at. Unsure and disputed frames are counted but not scored. No single “accuracy” figure is given because it hides missed failures.

2Dataset inventory

ItemValue
Source files400 images, 1 video clips (clips sampled at 2 frames/s)
Frames inventoried418
Recording sessions12
Independent groups (after duplicate merge)10 — merged: S01+S06, S02+S07
Resolutions640x480 (418)
Date range (file times)2026-10-31T11:36:43 → 2026-10-31T11:37:03
Exact duplicate copies1
Near-duplicate pairs7 within a session, 5 across sessions
Distinct-scene clusters406 (effective sample is smaller than the frame count when frames repeat)
Image-quality flagsover exposed: 26
Unreadable files0

Labels used: 236 present, 158 absent, 13 unsure, 11 disputed; 0 frames unlabelled. Scored after exclusions: 393 frames (157 absent, 236 good).

Class balance by operating condition

ConditionValuePresentAbsentUnsure / disputed
cameranominal19513120
camerashifted41274
glareno20213318
glareyes34256
lightingbright66366
lightingdim44302
lightingnormal1269216
variantblue1036911
variantred1338913

3Label-definition check PASS

Two people labelled the same frames independently: customer_qa and operator on 418 frames.

MeasureResult
Raw agreement94.3%
Cohen's kappa, present vs absent0.94 (strong)
Cohen's kappa, incl. unsure0.88 (strong)
Consensus unsure rate3.1%
Disputed (excluded)11
Near-duplicates with conflicting labels0

Rater agreement matrix

customer_qa ↓ / operator →PAU
P23633
A81581
U630

11 frame(s) disputed between raters are excluded from evaluation.

Targets: kappa ≥ 0.8, unsure rate ≤ 5%.

4How it was tested

Reference frame with the fixed region of interest outlined
Reference frame; the outlined box is the fixed region of interest (116×92 px). Only this box is analysed.
  1. Crop the fixed region of interest from every labelled frame.
  2. Split by recording: frames are grouped by session; sessions sharing near-duplicate frames are merged, so no recording appears in both training and test (5 folds).
  3. Set the threshold on validation only: inside each training part, a further grouped split produces validation scores; the threshold is chosen there (minimise FN rate / FN limit + FP rate / FP limit on validation scores (a miss weighs FP-limit / FN-limit times a false alarm); ties go to the lower threshold). Held-out recordings never influence it.
  4. Score held-out recordings once and pool the results. Intervals are Wilson 95%.
  5. Stress-test the primary baseline with brightness, shift, blur and compression changes.

Primary baseline (declared before testing): hog_color_logreg.

5Results on held-out recordings

Primary baseline: confusion table

Flagged for reviewNot flagged
Real failure (absent)TP 155FN 2missed
Good partFP 19false alarmTN 217

Precision 89.1% (CI 83.6–92.9%) · recall 98.7%.

All baselines

BaselineTP/FP/TN/FNFN rateFP rate
hog_color_linsvm
HOG shape + HSV colour histograms, linear SVM (class-balanced)
156/14/222/10.6%
0.1–3.5%
5.9%
3.6–9.7%
hog_color_logreg primary
HOG shape + HSV colour histograms, logistic regression (class-balanced)
155/19/217/21.3%
0.4–4.5%
8.1%
5.2–12.2%
template_ncc
Mean present/absent templates, normalised cross-correlation difference
155/59/177/21.3%
0.4–4.5%
25.0%
19.9–30.9%

Comparison baselines cannot be promoted to a GO on this same data; a better comparison is a reason to re-test, not to switch.

By operating condition (primary baseline)

ConditionValuenMissedFN rate95% CIFalse alarmsFP rate95% CIStatus
cameranominal3252/1301.5%0.4–5.4%12/1956.2%3.6–10.4% MEETS
camerashifted680/270.0%0.0–12.5%7/4117.1%8.5–31.3% MISSES
glareno3340/1320.0%0.0–2.8%7/2023.5%1.7–7.0% MEETS
glareyes592/258.0%2.2–25.0%12/3435.3%21.5–52.1% MISSES
lightingbright1022/365.6%1.5–18.1%1/661.5%0.3–8.1% MISSES
lightingdim730/290.0%0.0–11.7%0/440.0%0.0–8.0% MEETS
lightingnormal2180/920.0%0.0–4.0%18/12614.3%9.2–21.5% MISSES
variantblue1721/691.4%0.3–7.8%11/10310.7%6.1–18.1% MISSES
variantred2211/881.1%0.2–6.2%8/1336.0%3.1–11.4% MEETS
Missed failures (FN rate) with 95% CI0%10%20%30%agreed limit 5.0%errorscamera: nominal: 2/130 = 1.5% (95% CI 0.4–5.4%)camera: nominal2/130camera: shifted: 0/27 = 0.0% (95% CI 0.0–12.5%)camera: shifted0/27glare: no: 0/132 = 0.0% (95% CI 0.0–2.8%)glare: no0/132glare: yes: 2/25 = 8.0% (95% CI 2.2–25.0%)glare: yes2/25lighting: bright: 2/36 = 5.6% (95% CI 1.5–18.1%)lighting: bright2/36lighting: dim: 0/29 = 0.0% (95% CI 0.0–11.7%)lighting: dim0/29lighting: normal: 0/92 = 0.0% (95% CI 0.0–4.0%)lighting: normal0/92variant: blue: 1/69 = 1.4% (95% CI 0.3–7.8%)variant: blue1/69variant: red: 1/88 = 1.1% (95% CI 0.2–6.2%)variant: red1/88False alarms (FP rate) with 95% CI0%20%40%60%agreed limit 10.0%errorscamera: nominal: 12/195 = 6.2% (95% CI 3.6–10.4%)camera: nominal12/195camera: shifted: 7/41 = 17.1% (95% CI 8.5–31.3%)camera: shifted7/41glare: no: 7/202 = 3.5% (95% CI 1.7–7.0%)glare: no7/202glare: yes: 12/34 = 35.3% (95% CI 21.5–52.1%)glare: yes12/34lighting: bright: 1/66 = 1.5% (95% CI 0.3–8.1%)lighting: bright1/66lighting: dim: 0/44 = 0.0% (95% CI 0.0–8.0%)lighting: dim0/44lighting: normal: 18/126 = 14.3% (95% CI 9.2–21.5%)lighting: normal18/126variant: blue: 11/103 = 10.7% (95% CI 6.1–18.1%)variant: blue11/103variant: red: 8/133 = 6.0% (95% CI 3.1–11.4%)variant: red8/133

“Untested” means fewer than 10 failure or 10 good examples in that condition: it neither passes nor fails.

Further slices: image quality, glare inside the ROI, recording session
SliceValuenMissedFN rateFalse alarmsFP rate
image qualityok3680/1460.0%18/2228.1%
image qualityover_exposed252/1118.2%1/147.1%
roi glareclipped > 3% of ROI592/258.0%12/3435.3%
roi glarenot clipped3340/1320.0%7/2023.5%
sessionS01330/170.0%0/160.0%
sessionS02310/130.0%0/180.0%
sessionS03350/120.0%0/230.0%
sessionS04341/128.3%0/220.0%
sessionS05330/150.0%3/1816.7%
sessionS06340/120.0%4/2218.2%
sessionS07380/170.0%0/210.0%
sessionS08330/110.0%0/220.0%
sessionS09350/120.0%4/2317.4%
sessionS10340/150.0%7/1936.8%
sessionS11351/137.7%1/224.5%
sessionS12180/80.0%0/100.0%

6Stress tests

Held-out crops were altered and re-scored with the same model and threshold. A test is marked sensitive if it pushes a rate above the agreed limit or more than 5 points above the unaltered result.

ChangeFN rateΔFP rateΔ
Unaltered1.3%8.1% STABLE
brightness -30%0.6%-0.67.6%-0.4 STABLE
brightness +30%0.6%-0.66.4%-1.7 STABLE
shift left 6 px (~9% of ROI)0.6%-0.616.5%+8.5 SENSITIVE
shift right 6 px0.0%-1.38.1%+0.0 STABLE
shift up 6 px1.3%+0.023.3%+15.3 SENSITIVE
shift down 6 px4.5%+3.29.7%+1.7 STABLE
blur sigma 1.5 px1.3%+0.025.4%+17.4 SENSITIVE
blur sigma 3 px8.3%+7.039.0%+30.9 SENSITIVE
JPEG quality 301.3%+0.05.9%-2.1 STABLE

8Environmental and site risks

9Privacy and data handling

ItemRecord
Authorization referenceDEMO — synthetic CC0, no authorization needed
Received—
StorageLocal encrypted disk (BitLocker) on the operator laptop; no cloud copy.
Named accessDemo operator only
Retention until2026-11-30
At end of retentionSecure deletion with a signed deletion certificate sent to you
Deletion confirmationPending: local copies will be deleted by 2026-11-30; a signed deletion certificate will be sent to you.

10Limitations

11Next-step options

Prototype scoping

Quoted separately · no table price

Only after a GO. A fixed-scope proposal for one station: camera, lighting and compute sized from this evidence, a written acceptance metric, and PASS / FAIL / REVIEW REQUIRED outputs for a person. No machine stop or auto-reject.

Expanded Evidence Review

$950 CAD [A] · 7 business days

Adds one approved product variation or operating condition, up to the same sample size, and returns a revised error table and recommendation. Best when the answer was MORE EVIDENCE because examples were too few.

Recommended

Reassessment

$650 CAD [A] · 5 business days

One rerun after you change lighting, camera view or the label definition. Revised error table and go/no-go note. Best after a NO-GO caused by a fixable site condition.

Prices in CAD, excluding HST, 100% up front. [A] = current planning price, confirmed in writing before any work. The $1,250 review fee is credited against a prototype started within 30 days.

1245-minute walkthrough

MinutesTopic
0–5Recommendation and the decision rule
5–15What footage was used, label definition and agreement
15–30Results by condition, the error gallery, stress tests
30–40Site risks, privacy, retention and deletion date
40–45Next step and who owns it

Appendix · traceability

ItemValue
Toollonglot-vision 0.1.0 · Python 3.13.18 · OpenCV 5.0.0 · scikit-learn 1.9.1
Results generated2026-10-31T11:37:16-04:00
Random seed20261031
Region of interestx=262.0, y=100.0, w=116.0, h=92.0 on 640×480 (set 2026-10-31T11:36:58-04:00)
Signed manifesttrace_manifest.json (SHA-256 of every input and output, HMAC-SHA256 signed). Verify with longlot-vision verify.
Companion filesacceptance_matrix.md · dataset_summary.csv · predictions_*.csv