First time here? Check out the FAQ!
answered 2017-10-22 21:08:41 -0600
for contour in contours: [x,y,w,h] = cv2.boundingRect(contour) cv2.rectangle(gray,(x,y),(x+w,y+h),(255,0,255),2) cv2.putText(frame,'Show the text',(x-10, y-10), font, 1, (0,255,0), 4,cv2.CV_AA)