def draw_text(im, position, text, color=(0, 0, 255)):
 cv2.putText(im, text, position, cv2.FONT_HERSHEY_SIMPLEX, 1.5, color, 1)
 return im

def draw_text ( im , position , text , color = ( 0 , 0 , 255 ) ) : cv2 . putText ( im , text , position , cv2 . FONT_HERSHEY_SIMPLEX , 1.5 , color , 1 ) return im
position = text = "your text" .