안녕하세요 혼자 독학을 하고 있고 따로 UiPath 관련 질문을 해결할 방법이 없어서 이렇게 여쭤드립니다.
현재 png 형식 이미지 파일에서 OCR 기능으로 텍스트 데이터를 추출하려 하고 있습니다.
제가 시도해본 방법은 다음과 같습니다.
첫 번째 방법은 “UiPath Document OCR” 액티비티를 사용해봤는데 계속해서 에러가 발생하고 있습니다. (에러 내용이 너무 길어서 첫 줄 내용만 올려드립니다. “UiPath Document OCR: Request CorrelationId: 11a2448b-9dd2-4bdc-afae-d23408a166f5”)
두 번째 방법은 여기저기 찾아보다가 “Microsoft OCR” 액티비티를 사용하는 샘플을 발견해서 제가 사용하는 프로세스에도 적용하려 했는데 “Microsoft OCR” 액티비티 자체가 없더라구요.
분명히 패키지, 패키지 버전도 똑같이 환경 세팅을 하였는데 왜 저는 “Microsoft OCR” 액티비티가 존재하지 않는지 여쭙고 싶습니다.
혹시 다른 분들께서는 이미지 파일에서 OCR 액티비티로 텍스트 데이터를 추출할때 어떤 방법을 사용하시는지도 궁금해서 이렇게 여쭤드립니다.
Hi @dongbinr56 ,
To get text in image PNG, you can use OCR - Japanese, Chinese, Korean
with korean character,
I think it will correct, I tried it with japan text is ok
=> Use Load image acitvity to load the image and store the output in a variable.
=> Use Tesseract OCR Engine and pass the variable. Stroe the output in text.
=> Use Write line or Message box to print the content.
You can try
my input
my code image.xaml (7.7 KB)
I tried 2 ways with Tesseract OCR and KCJ OCR
if your image have korean character, I think KCJ will ok
I got the same error again. The error details are as follows Uipath Error text.txt (66.7 KB)
If you try to upload the error content in text format, an error will occur, so we will write it in a notepad and upload it
In here you use document OCR ?
document OCR use generate API key of UiPath
It cannot read correct korean character from image
I tried it
my image
my code
It seems that it will be difficult to upload documents and files due to security issues
In the case of error messages, I also tried to upload them in image format at first, but the content of the error message is really too long, so I can’t upload it in image format.
The problem has not been solved, but I am so grateful to you for helping me to do this
KCJ have API key
“HESNfqLJMUjrCvAupBOT8e6yocmqY1IWgH2RUANyLzLuKNb7kV23Mdz0KzzKddDq09tQAo/CZ1iYUOIAgnf42Q==”
and end point
“https://du-jp.uipath.com/cjk-ocr”
I tried with
ex
I have correct output with all of them
have you changed CimputerVision API key from AutomationCloud - Admin - License ?
this problem is small in UiPath, you can try again