Robust Symbol Recognition using a Structural Approach