Johannes Kopf from Microsoft and Dani Lischinski from the Hebrew University built the algorithm by blending a number of approaches, including pixel analysis and spline curves.
Firth spoke to journalists after the film's first screening, joined by the film's lead Gary Oldman - who plays George Smiley - and actors John Hurt, Benedict Cumberbatch and Mark Strong.