OCR 辨識執行時遇到錯誤

您好
目前正在設計用 Get OCR text 搭配 Google Vision API,
但發現當跑到圖片是空白的時候,自動程序就會暫停並寫拋出錯誤
Get OCR Text ': Value cannot be null. (Parameter ‘source’)

我在Get OCR text 裡面的 ContinuneOnError 設定為 Ture,也無法解決

請問有人知道怎麼解決嗎?

hi @tungchan.yeh ,
Have you tried “Tesseract OCR”
regards,

用 omnipage OCR (从package manage 下载 omnipage)

Hi @Nguyen_Van_Luong1 ,

thanks for your reply, I need traditional Chinese handwriting OCR, Currently seems only Google Vision API supports it, and Tessearact OCR does seem not to support traditional Chinese handwriting OCR

May I ask,Is there any method to skip the error?

thank you~

Hi @jack.chan

omnipage OCR 似乎沒有支援 繁體中文的手寫辨識,目前我只知道 Google Vsion API 有支援,
所以我比較傾向使用Google Vsion API ,請問有別的方式可以跳過錯誤嗎?

謝謝您~

yes

  1. install UiPath.OmniPage.Bundle.Extended

  2. qct = TRADITIONAL CHINESE

Yeah, I see,
Have you tried “Try catch” exception
I think it will help you

@tungchan.yeh 这个方案可以吗?

哈囉 @jack.chan

我試過 OmniPage OCR,當我在Language field 設定 “QCT” ,會出現不支援的錯誤,
目前我用Try Catch 似乎可以避開錯誤了

感謝您的幫忙 :slight_smile:

BR
James

1 Like

Hi @Nguyen_Van_Luong1

thanks for your method , I tried ,It seems skip 的error ,thank you very much :slight_smile:

BR

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.