Mingming Cheng's HC and RC code (used in my street view image text finder project)