def get_all_act_pos(self, crop=False):
    act_map = {}
    screen = self.screenshot()
    cv_screen = pil2cv(screen)
    for icon in [icon1, icon2]:
        act_map.update(self.get_act_pos_by_icon(cv_screen, icon, crop))
    logger.info(act_map)
    return act_map
def get_all_act_pos(self, crop=False):
    act_map = {}
    screen = self.screenshot()
    cv_screen = pil2cv(screen)
    for icon in [icon1, icon2]:
        act_map.update(self.get_act_pos_by_icon(cv_screen, icon, crop))
    logger.info(act_map)
    return act_map