sketch recognition class