04 · Recognition + Online Learning
Not all text is a subtitle.
Linguify’s own AI engine learns to recognise the game’s subtitles.
Signs, plates, objectives and interface labels can enter the OCR region too. Here our car’s plate, a road sign and the speedometer share the area with the subtitle. Recognition decides which one is actual dialogue.
Letter shape
Letters are measured one by one inside the box: height, stroke width, fill share, x-height, letter gaps, shadow direction.
Size
The subtitle’s typical letter height is learnt. Text clearly larger or smaller (beyond ±30%) stands apart.
Position
The subtitles’ recurring rows and horizontal alignment are learnt. Text far from those rows is suspect.
Motion
Text that moves with the scene is not dialogue. Text that sits still for a long time is interface.
Punctuation and form
Letter case, punctuation, word-likeness. If the game always punctuates, an unpunctuated fragment stands out.
Online Learning
The model learns only from independent evidence: lines handed on as dialogue, read in at least two frames, never moved. It never learns from its own predictions.
An online logistic regression over 18 features. It takes no part in decisions until it has at least 8 positive and 4 negative examples.
As you play, Linguify learns to recognise the game’s subtitles.
The same real gameplay recording was re-processed with three versions of recognition. Text wrongly taken for a subtitle went from 12 to 0, while the number of missed real subtitles did not go up.
Experimental Online Learning · one game video, 29 minutes