vocksel / geo

A library for geometric shape recognition
MIT License
9 stars 0 forks source link

Shape detection is too unreliable #2

Open vocksel opened 3 years ago

vocksel commented 3 years ago

Currently, shapes are not recognized as well as they should be, as pointed out by many uses on Twitter.

https://twitter.com/kevin1themorgan/status/1369436721968996364 https://twitter.com/ayameart/status/1369643717334859779 https://twitter.com/EugenicsOdyssey/status/1369595972037320706

I think this will mostly require tightening up the ratios we use, and limiting them to a specific range. If we are not within a range of certainty for a shape, it should be discarded completely. Worse case, we should return nil when we have no idea what shape the user drew.

vocksel commented 3 years ago

Coming back to this, the problems I notice most with shape detection is that:

If we can tighten up these areas, shape detection should be a lot more reliable