Search Unity

Shape Recognition

Discussion in 'Editor & General Support' started by CypticSamaritan, Feb 12, 2018.

  1. CypticSamaritan

    CypticSamaritan

    Joined:
    Feb 28, 2016
    Posts:
    1
    Hello, I am trying to code a scenario where the user draws a shape (through a touch screen) and that shape is compared to a corresponding image for accuracy. When the shape is accurate to the drawing then the game spawns a check mark next to it. It's part of a puzzle game.

    I am pretty new to Unity, both to coding for it as well as the forum. Any advice you can give would be greatly appreciated.
     
    Last edited: Feb 12, 2018
  2. raz818

    raz818

    Joined:
    Apr 18, 2014
    Posts:
    3
    I am actually working on something similar with shape recognition. If you want to go the paid asset route checkout Fingers for Unity on the asset store. If you want to try to do it yourself I would look into the $-family of algorithms, specifically the $Q one. There is even an old Unity port of it that they link to on Github here. The Github one is for $P which is similar but you could convert it to $Q like I did.