reconocer lo que se esta mostrando en una seccion de la pantalla
def get(section, img): region = regionGrabber(section) img_rgb = np.array(img) img_gray = cv2.cvtColor(img_rgb, cv2.COLOR_BGR2GRAY) template = cv2.imread(f'templates/{section}.png',0) res = cv2.matchTemplate(img_gray,template,cv2.TM_CCOEFF_NORMED) w, h = template.shape[::-1] threshhold = 0.8 loc = np.where( res >= threshhold) for pt in zip(*loc[::-1]): return region, pt