Text this: Local Features in Natural Images via Singularity Theory