Skip to main content

Model Card - Fabrika Engine-Bay Component Detector v1

Identity​

  • Name: fabrika_engine_bay_detector_v1
  • Architecture: YOLOv8n detection, 3.0M parameters, 640×640 RGB
  • Artifact: best.pt (PyTorch), best.onnx (portable inference)
  • Trained: 2026-11-17
  • Data: Kaggle khaledchawa/car-engine-bay-pictures, MIT
  • License of data: MIT (see dataset source)
  • Model license: internal Fabrika AI evaluation artifact; do not redistribute without review

Intended use​

Assistive recognition of visible engine-bay components (battery, coolant reservoir, oil fill cap, dipstick, fuse box, radiator cap, alternator, etc.) in clear, front-facing engine-bay images.

Not intended use​

  • Not a fault detector.
  • Not a substitute for a mechanic.
  • Not for safety-critical decisions (airbags, high-voltage, fuel leaks, brakes, steering).
  • Not for model/year identification, fluid-level verification, or torque/fuse specifications.
  • Not validated on Egyptian-market vehicles specifically.

Classes (26)​

inverter_coolant_reservoir, battery, radiator_cap, windshield_wiper_fluid, fuse_box, power_steering_reservoir, brake_fluid, engine_oil_fill_cap, engine_oil_dipstick, air_filter_cover, abs_unit, alternator, engine_coolant_reservoir, radiator, air_filter, engine_cover, cold_air_intake, clutch_fluid_reservoir, transmission_oil_dipstick, intercooler_coolant_reservoir, oil_filter_housing, atf_oil_reservoir, cabin_air_filter_housing, secondary_coolant_reservoir, electric_motor, oil_filter.

Rare classes (ATF reservoir, oil filter, secondary coolant) have too few examples for a deployment claim.

Held-out evaluation​

96 images, seed 42 split, confidence 0.50, IoU 0.50:

MetricValue
Precision0.701
Recall0.471
mAP500.453
mAP50-950.281

Default validation operating point (reported by Ultralytics): P 0.659 · R 0.622 · mAP50 0.635.

High-precision/relevant classes at the 0.50 operating point include fuse box (P .853), oil fill cap (.836), radiator cap (.808), engine cover (.810), coolant reservoir (.797), dipstick (.929), brake fluid (.922). Radiator and several rare classes perform poorly.

Known limitations​

  • No fault labels: oil seepage, belt fraying, low coolant, terminal corrosion and hose cracks are not model outputs.
  • Class imbalance and hard negatives (shadows, reflections, partial hoods) reduce precision.
  • No Egyptian-specific domain images, plate blurring or Arabic-spec metadata.
  • The model should be re-evaluated at a high-confidence threshold before any UI use. A conservative presence gate may require at least 2 supported components at confidence ≥0.75.
  • Windows host cannot export LiteRT/TFLite natively; ONNX is provided and TFLite export must be done on Linux/macOS CI.

Deployment gate​

Do not ship this model as a paid diagnostic model. It can be shipped only as an assistive component detector after:

  1. precision ≥ 0.90 at the chosen threshold on an Egypt-specific held-out set;
  2. explicit “not an engine bay” rejection;
  3. an ablation showing no increase in false positive fault findings;
  4. human review of uncertain samples;
  5. app A/B test with a clear “assistive, not diagnostic” label.

Ethical and safety notes​

The model is trained on public engine-bay photos and does not identify people or plates. Still, all user photos captured by Fabrika are stored locally and never uploaded automatically. A wrong detection must not trigger a repair recommendation or a charge. The app’s precision gate and no-charge policy apply independently of this model.