title: shape Detection - TensorFlow
body: <p>I'm trying to train a model to detect the basic shapes like Circle, Square, Rectangle, etc. using Tensorflow. What would be the best input data set? To load the shapes directly or to find the edge of the image using OpenCV and load only the edge image. </p>
  
  <p>We can detect shapes using OpenCV too. What would be the added advantage to use Machine Learning.</p>
  
  <p>Sample images given for training the model.</p>
  
  <p><a href="https://i.stack.imgur.com/g7tlj.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/g7tlj.jpg" alt="Circle Detected using OpenCV"></a>
  <a href="https://i.stack.imgur.com/WOgJw.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/WOgJw.jpg" alt="Square detection"></a></p>