title: How to make a border on a video stream using opencv and python?
body: <p>I am learning opencv with python and i have got my video running perfectly using opencv but i want to make a border on the video . This is what i have tried so far but it didn't worked.</p>
  
  <pre><code>import cv2
  import numpy as np
  cam=cv2.VideoCapture(1)
  waitTime=50
  while (1):
  
  
      ret,frame=cam.read()
  #cv2.copyMakeBorder(frame,1000,1000,1000,1000,cv2.BORDER_CONSTANT,value=[0,255,255])
      cv2.imshow("frame",frame)
      cv2.copyMakeBorder(frame,1000,1000,1000,1000,cv2.BORDER_CONSTANT,value=[0,200,200])
      #cv2.setMouseCallback('frame',draw)
      if  cv2.waitKey(waitTime) &amp; 0xFF==ord('q'):
              break
  cam.release()
  cv2.destroyAllWindows()
  </code></pre>