I did a rendering and found a dot in the image that meets my criteria. I need to cut the original image into a smaller one (120x120) centered at this point. I tried 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 make this cut?