Closed Hamza-Kamran closed 7 months ago
seems the confidence scores are off. I was able to resolve this error by changing the code in zoomrec.py with a try except block.
try: result = pyautogui.locateCenterOnScreen(os.path.join(IMG_PATH, img_name), minSearchTime=2, confidence=0.6) x, y = result pyautogui.click(x, y) found_join_meeting = True except Exception as e: logger.info("Unable to join meeting yet..Wait 1 sec")
Seems the confidence isnt greater than 0.7 no matter what.
Describe the bug No matter how long I wait, I am unable to join a meeting. Zoom Window opens but Pyautogui is unable to detect the "Join a Meeting" button.
To Reproduce Steps to reproduce the behavior:
apt-get install --no-install-recommends -y gnome-screenshot && \
to install gnome-screenshot for recent versions of PIL >= 9.2.0join_meeting_id(meet_id)
function add a minimum search time for pyautogui locateCenterOnScreen:pyautogui.locateCenterOnScreen(os.path.join(IMG_PATH, img_name), minSearchTime=2, confidence=0.9)
Expected behavior Expect zoom window to open and the "Join a Meeting" button to be clicked
Screenshots
Desktop (please complete the following information):