I have a similar problem in a much easier context. In my app, the user can draw a Chinese character on a canvas. The drawing is saved as a .jpg file, and then shown alongside the correct solution on a second screen. These are the blocks on the screen where the user draws their character: