title: Number Recognition on 7 segment using python
body: <p>I am writing a code on Jupyter notebook using python to recognize the number on the device with 7segment(FND).</p>
  <p>I used <code>opencv</code> and got the edge of the image.</p>
  <pre class="lang-py prettyprint-override"><code>import cv2
  import matplotlib.pyplot as plt 
  
  def detect_edge(image):
      ''' function Detecting Edges '''
  
      image_with_edges = cv2.Canny(image , 100, 200)
  
      images = [image , image_with_edges]
  
      location = [121, 122]
  
      for loc, img in zip(location, images):
          plt.subplot(loc)
          plt.imshow(img, cmap='gray')
  
      plt.savefig('edge.png')
      plt.show()
  
  image = cv2.imread('/Users/USER/Desktop/test/test2.png', 0)
  detect_edge(image)
  </code></pre>
  <p>This is the screenshot of the sample input and output data I got form the code above:</p>
  <p><img src="https://i.stack.imgur.com/64TCd.jpg" alt="sample input and output" /></p>
  <p>I am not sure how to proceed from here. I want to get the recognize the number
  51.12 in this case.</p>
  <p>Should I crop the FND part that the numbers are on first before I run deep learning?</p>
  <p>And how should I proceed from here?</p>