import cv2
import numpy as np
#
# img = cv2.imread("D:/img/ell.png")
# img_gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
# ret, img_thresh = cv2.threshold(img_gray, 125, 255, cv2.THRESH_BINARY_INV)
# img_canny = cv2.Canny(img_thresh, 50, 150, 3)
# image, contours, hierarchy = cv2.findContours(img_canny, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)
#
# print(contours[0])
# print(len(contours[0]))
#
# print(contours[0][0])
# print(len(contours[0][0]))
# print(contours[0][1])
# print(len(contours[0][1]))
#
# print(contours[0][0][0])
# print(len(contours[0][0][0]))
#
#
# for i in range(0, len(contours[0][0])):
#     pass
