puzzle resolver using computer vision