М*
Size: a a a
М*
М*
import cv2
import numpy as np
from skimage import io
img = io.imread(r'C:\Users\User\Desktop\troubles\1.jpg')
imgray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
edge = cv2.Canny(imgray, 50, 100,False,3)
edge = cv2.bitwise_not(edge)
cv2.imshow('edge' ,edge)
hough = cv2.HoughLinesP(edge, 1, np.pi/180, 100, minLineLength=50, maxLineGap=20)
cv2.waitKey ( 0 )
cv2.destroyAllWindows ()
R
R
М*
М*
SA
М*
СМ
М*
СМ
М*
A
М*
АК
М*
АК
М*
М*
RM