How to get region of image (ROI) of an object?
hello, my question is, if i use template matching and the image of interest is detected (or use a color filter and detect a red object for example), how can i get/obtain the region or ubication of the image?, for example img[280:340, 330:390].
pd: im using python 3 with opencv in a raspberry pi 3 model b