import numpy as np
import cv2

#img = cv2.imread('lena.jpg', 1)
img = np.zeros([512, 512, 3], np.uint8)

img = cv2.line(img, (0,0), (255,255), (255,0,0), 5)
img = cv2.arrowedLine(img, (0,255), (255,255), (255,0,0), 10)

img = cv2.rectangle(img, (384,0), (500,255), (255,0,0), 5)
img = cv2.circle(img, (30,25), 63, (0,255,0), -1)
font = cv2.FONT_HERSHEY_PLAIN
img = cv2.putText(img, 'opencv', (100,200), font, 4, (255,255,255), 10, cv2.LINE_AA)

cv2.imshow('image', img)

cv2.waitKey(0)
cv2.destroyAllWindows()
