I know there are currently a lot of problems with changing colours etc, and that dtms only work on colours... and I've always thought we need to use more than colours. Hence, I had a little google on edge detection and knocked up a script over the past 24 hours. The result is attached.
Obviously if people deem this a decent idea I could write functions to find deformed, rotated edges etc. Combined with colours and dtms there's not much you can't find.
If this seems useless.. think box, maze, mime solver (detect shapes, detect gates, arms etc)
Feedback please![]()


Reply With Quote























Anywho, finding the triangle took 0.328 seconds (And that is with excess processing for debug output, along with other stuff besides edge detection, and shapefinding transforms, Ruler
The edge detection took 100ms total), give or take 15 ms.
