title: OpenCV edge enhancement
body: <p>I am performing background subtraction to obtain a moving car from a video as below ( Running average background modeling)</p>
  
  <p>I am applying findContours() after this to draw a polygon around the car.</p>
  
  <p>As you can see, the quality of the obtained output is not great. Is there any way I can enhance the edges of the car to make it more prominent and cut out the extraneous noise surrounding it. I tried performing morphological closing(dilate -> erode) to fill the gaps, but the output was not as expected.</p>
  
  <p><img src="https://i.stack.imgur.com/Lc4PN.jpg" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/PvZYp.jpg" alt="enter image description here"></p>