Read the model file but the recognition class need to be cleaned up.