import numpy as np
import cv2


img=cv2.imread("watch.jpg",cv2.IMREAD_COLOR)
cv2.line(img,(0,0),(150,150),(255,255,255),15)
cv2.rectangle(img,(15,25),(200,150),(0,255,0),5)
cv2.circle(img,(100,63),55,(0,0,255),-1)

pts=np.array([[10,5],[20,30],[70,20],[50,10]],np.int32)
#pts=pts.reshape((-1,1,2))

cv2.polylines(img,[pts],True,(0,255,255),3)
font=cv2.FONT_HERSHEY_SIMPLEX
cv2.putText(img,'Opencv TUTS!',(0,130),font,1,(200,255,255),2,cv2.LINE_AA)

cv2.imshow("image",img)
cv2.waitKey(0)
cv2.destroyAllWindows()

84a85fb958ba062cbf87c6ee6d5e4cf8e9e7cb49
<mask token>

<mask token>
cv2.line(img, (0, 0), (150, 150), (255, 255, 255), 15)
cv2.rectangle(img, (15, 25), (200, 150), (0, 255, 0), 5)
cv2.circle(img, (100, 63), 55, (0, 0, 255), -1)
<mask token>
cv2.polylines(img, [pts], True, (0, 255, 255), 3)
<mask token>
cv2.putText(img, 'Opencv TUTS!', (0, 130), font, 1, (200, 255, 255), 2, cv2
    .LINE_AA)
cv2.imshow('image', img)
cv2.waitKey(0)
cv2.destroyAllWindows()

<mask token>
img = cv2.imread('watch.jpg', cv2.IMREAD_COLOR)
cv2.line(img, (0, 0), (150, 150), (255, 255, 255), 15)
cv2.rectangle(img, (15, 25), (200, 150), (0, 255, 0), 5)
cv2.circle(img, (100, 63), 55, (0, 0, 255), -1)
pts = np.array([[10, 5], [20, 30], [70, 20], [50, 10]], np.int32)
cv2.polylines(img, [pts], True, (0, 255, 255), 3)
font = cv2.FONT_HERSHEY_SIMPLEX
cv2.putText(img, 'Opencv TUTS!', (0, 130), font, 1, (200, 255, 255), 2, cv2
    .LINE_AA)
cv2.imshow('image', img)
cv2.waitKey(0)
cv2.destroyAllWindows()

import numpy as np
import cv2
img = cv2.imread('watch.jpg', cv2.IMREAD_COLOR)
cv2.line(img, (0, 0), (150, 150), (255, 255, 255), 15)
cv2.rectangle(img, (15, 25), (200, 150), (0, 255, 0), 5)
cv2.circle(img, (100, 63), 55, (0, 0, 255), -1)
pts = np.array([[10, 5], [20, 30], [70, 20], [50, 10]], np.int32)
cv2.polylines(img, [pts], True, (0, 255, 255), 3)
font = cv2.FONT_HERSHEY_SIMPLEX
cv2.putText(img, 'Opencv TUTS!', (0, 130), font, 1, (200, 255, 255), 2, cv2
    .LINE_AA)
cv2.imshow('image', img)
cv2.waitKey(0)
cv2.destroyAllWindows()

import numpy as np
import cv2


img=cv2.imread("watch.jpg",cv2.IMREAD_COLOR)
cv2.line(img,(0,0),(150,150),(255,255,255),15)
cv2.rectangle(img,(15,25),(200,150),(0,255,0),5)
cv2.circle(img,(100,63),55,(0,0,255),-1)

pts=np.array([[10,5],[20,30],[70,20],[50,10]],np.int32)
#pts=pts.reshape((-1,1,2))

cv2.polylines(img,[pts],True,(0,255,255),3)
font=cv2.FONT_HERSHEY_SIMPLEX
cv2.putText(img,'Opencv TUTS!',(0,130),font,1,(200,255,255),2,cv2.LINE_AA)

cv2.imshow("image",img)
cv2.waitKey(0)
cv2.destroyAllWindows()
