Hii,
when i pass original pdf invoice so job run properly but problem with original pdf is watermark is in pdf invoice so extracted data is not proper because watermark is also extracted .for that i remove watermark from pdf using python script and after removing watermark file is in png format so that ,we convert pnj file into pdf file using image to pdf convert Activity in uipath studio .
but when i pass output pdf file to job to extract data that time getting error in Digitize Document Activity (Digitize Document:One or More Error occurred)
Please Help me and Guide me to resolve issue.
Kindly check Attached screen shot
If you want to process that particular Invoice , then you can give that path directly.
OR
try to use Directory.getfiles(folderpath,“*.pdf”).first, it will get the first pdf in the folder
hii
i try with same like above comment but in Digitize document Activity In that Omni page activity not accepted pdf ,getting error (Digitize Document: One or more errors occurred.)
First try with different OCR and check if it is works
Hey
This “expresion Directory.GetFiles()” will return an array of String, so you cant pass directly that expression in the Digitize Document Activity, first of all create an Array of String variable
DocumentPaths = Directory.GetFiles(“YourPath”)
Then use a For Each Activity or Parallel For Each and inside that For Each put your Digitize Document Activity and pass the For each variable in the Document Path Field}
Should be something like this
Also please check that you are giving the correct API key in your OCR enginem should be the Computer Vision API Key if you are using the Omnipage engine
Regards!
please suggest name which will check ocr
chenged in job like above comment but still error is getting .
and also check API key ,right key is pass .
please check scrern shot.
Hey
Please use For Each Activity, and pass your Digitize Document Activity inside that for each, then pass the For each local variable into the Document Path Field of your Digitize
Should be exactly this
Regards!
Hi @ashwini.mali ,
Could you also show us the screenshot of the Folder where the File is present ?
And also Could you provide the Screenshot of the OmniPage OCR Properties ?
Could you try modifying the properties Profile
as Scan
and Scale
as 2 and check ?
Uipath studio Support Image to pdf Convert File(Converted pdf file )?
Changed OCR Engine (UIpath Documnet Ocr ) And Issue Resolve
Thank You So Much
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.