Detexify's implementation is explained here: < Briefly, it is a $k$-nearest neighbors classifier with hand-tuned features. Nothing fancy, no topology:
> The features I use (at the time of writing) are number of strokes, point density and directional features.