Merge remote-tracking branch 'origin/main'

This commit is contained in:
kithib 2024-04-12 17:59:43 +08:00
commit 7bfbebf20f
2 changed files with 1 additions and 1 deletions

View file

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Before After
Before After

View file

@ -243,7 +243,7 @@ class AndroidExtEnv(ExtEnv):
@mark_as_writeable
def user_openApp(self, app_name: str):
# openApp without xml
screenshot_path = self.get_screenshot("screenshot", "./screenshot")
screenshot_path = self.get_screenshot("screenshot", "../../../examples/data/screenshot")
image = screenshot_path
ocr_detection = pipeline(Tasks.ocr_detection, model="damo/cv_resnet18_ocr-detection-line-level_damo")
ocr_recognition = pipeline(Tasks.ocr_recognition, model="damo/cv_convnextTiny_ocr-recognition-document_damo")