title: Detect simple geometric shapes using PILLOW(PIL)
body: <p>I have this project were I need Python to detect simple geometric shapes inside an image. Only using Pillow, for example:</p>
  
  <p><a href="https://i.stack.imgur.com/hxCad.png" rel="noreferrer"><img src="https://i.stack.imgur.com/hxCad.png" alt="enter image description here"></a></p>
  
  <p>After searching the internet, I still don't know how to achieve this. Thanks in advance for any help</p>