I am currently working on something like kik/messenger code, just for fun.
At this point, I create the code with Javascript in Canvas. The result is the following :
So my question is the following one : How can I detect shapes and area of shapes? Specially area. I saw articles about some solution in Python with OpenCV but I'm not sure about how to implement them :/.
[BONUS] : If you can tell shapes location you'll have my entire respect and admiration! Something like this :
Thank you a lot!