# Import dependencies
import cv2
# Read Images
img = cv2.imread(r'C:\Users\harrizazham98\Desktop\OpenCVForPython\resources\Day 1\image\KL_view.jpg')
# Display Image
cv2.imshow('Original Image',img)

# make a copy of the original image
imageEllipse = img.copy()
# define the center point of ellipse
center = (150,190)
# define the major and minor axes of the ellipse
axis1 = (100,50)
axis2 = (125,50)
# draw the ellipse
#Horizontal
cv2.ellipse(imageEllipse, center, axis1, 0, 0, 360, (255, 0, 0), thickness=3)
#Vertical
cv2.ellipse(imageEllipse, center, axis2, 90, 0, 360, (0, 0, 255), thickness=3)
# display the output
cv2.imshow('ellipse Image',imageEllipse)
cv2.waitKey(0)
cv2.distroyAllWindows()