3
I did a processing and found a point in the image that meets my criteria. I need to cut the original image into a smaller one (120x120) that has that center point. I tried to do the following:
img = cv2.imread(path,cv2.IMREAD_GRAYSCALE)
mx = pegarPontox()
my = pegarPontoy()
novaImagem = img[mx-60:mx+60][my-60:my+60]
However, it returns me an empty list. How do I cut?