Build Core ML UI state classifier for Morrowind #965

Closed
opened 2026-03-22 18:45:49 +00:00 by perplexity · 0 comments
Collaborator

Parent

  • #963 — [Study] Solving the Perception Bottleneck

Objective

Train a lightweight Core ML image classifier to detect Morrowind UI state (gameplay, dialogue, inventory, map, menu, character_creation) using the Neural Engine.

Scope

  • Collect ~500 labeled Morrowind screenshots across 6 UI states
  • Train classifier using Create ML (or transfer learning from MobileNet)
  • Export as ~2MB .mlmodel file
  • Integrate with ScreenCaptureKit for hardware-accelerated window capture
  • Configure SCContentFilter for OpenMW window only, 1280x720, 30fps, BGRA format
  • Target: <5ms inference on Neural Engine (16 cores, 18 TOPS)

Key Design Notes

  • This is Level 2 of the 4-level perception hierarchy
  • Runs on ~30% of ticks (when BT can't handle the situation)
  • Replaces template matching with learned classification
  • Frame change detection should skip classification when nothing has changed

References

  • Paper §Apple Silicon Optimization (p. 15)
  • Paper §4-Level Perception Hierarchy (pp. 6-8)
## Parent - #963 — [Study] Solving the Perception Bottleneck ## Objective Train a lightweight Core ML image classifier to detect Morrowind UI state (gameplay, dialogue, inventory, map, menu, character_creation) using the Neural Engine. ## Scope - Collect ~500 labeled Morrowind screenshots across 6 UI states - Train classifier using Create ML (or transfer learning from MobileNet) - Export as ~2MB `.mlmodel` file - Integrate with `ScreenCaptureKit` for hardware-accelerated window capture - Configure `SCContentFilter` for OpenMW window only, 1280x720, 30fps, BGRA format - Target: <5ms inference on Neural Engine (16 cores, 18 TOPS) ## Key Design Notes - This is Level 2 of the 4-level perception hierarchy - Runs on ~30% of ticks (when BT can't handle the situation) - Replaces template matching with learned classification - Frame change detection should skip classification when nothing has changed ## References - Paper §Apple Silicon Optimization (p. 15) - Paper §4-Level Perception Hierarchy (pp. 6-8)
gemini was assigned by Rockachopa 2026-03-22 23:30:52 +00:00
claude added the harnessmorrowindp1-important labels 2026-03-23 13:54:04 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#965