title: I want to detect objects in the image and redraw it in another page, so anyone would please suggest which algorithm can be used?
body: <p>I am doing project on <code>image processing</code> (molecule identification in an image and drawing those molecules in an editor). So want help in identifying, which algorithm can be used to detect the objects like lines, curves, bifurcations and characters in an image.</p>
  
  <p>Yes, canny's algorithm detects the edges in image. But to draw these edges in an editor I want the end points(pixel values) of these edges. So how the canny's algorithm will be helpful to do so? or are there any algorithms for recognising these end points of lines?</p>
  
  <p>Sample image as follows</p>
  
  <p><a href="https://i.stack.imgur.com/KbgBX.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KbgBX.png" alt="enter image description here"></a></p>