This is a code for virtual mouse using finger gestures. The above both errors are arising in the statements containing cv2.circle() and cv2.line(). I also tried using int(),