Text this: Implementation of an image based focusing algorithm for non-mydriatic retinal imaging