Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

trouble using ocrFile() #4

Closed
ageyl opened this issue Feb 1, 2017 · 2 comments
Closed

trouble using ocrFile() #4

ageyl opened this issue Feb 1, 2017 · 2 comments

Comments

@ageyl
Copy link

ageyl commented Feb 1, 2017

I'm attempting to use the ocrFile() function to read pdf image of a table. If I use Abbyyr's "finreaderonline.com" with my pdfs I get a nice .csv table back.

When I use ocrFile() I get the following error message:
Error in Ops.factor(res$id, listFinishedTasks()$id) : level sets of factors are different

If I run getAppInfo()
getAppInfo() Name of Application: 1 No. of Pages Remaining: 1 No. of Fields Remaining: 1 Application Credits Expire on: 1 Type: 1

Any ideas about what I could check?

@soodoku
Copy link
Member

soodoku commented Feb 1, 2017

Interesting. Let me investigate.

@soodoku
Copy link
Member

soodoku commented Apr 12, 2017

Apologies for the long delay. I believe the error you are getting is caused by the presence of factors instead of character vector. I have coerced to char as a fix.
Ping me if the latest version of abbyyR still gives you problems.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants