Coder Social home page Coder Social logo

Comments (16)

Dmitry-Me avatar Dmitry-Me commented on August 15, 2024

It looks like task processing failed and its state is not Completed but perhaps ProcessingFailed or some other state. If this happens then didStartElement in Task.m doesn't set downloadURL because there's nothing to set. The code you cite doesn't handle this case properly. The right behavior would be to check task.status and proceed depending on its value.

from ocrsdk.com.

youquanli avatar youquanli commented on August 15, 2024

Hi, Dmitry
Thank you very much for your reply.
You are right. The task processing failed because the app ID I used had no balance.
So I used another app ID with some balance pages, and your code works very well.

By the way do you happen to know if ABBYY Cloud SDK supports OCR of handwritten documents as well?
I really appreciate your help, and wish you best of luck in the new year.
Thank you.

from ocrsdk.com.

youquanli avatar youquanli commented on August 15, 2024

from ocrsdk.com.

Dmitry-Me avatar Dmitry-Me commented on August 15, 2024

It supports "handprinted" text - text written by hand one character at a time. http://ocrsdk.com/documentation/specifications/text-types/ "Handprinted" text is how various forms are filled in by hand - you have a grid and write one character per grid cell.

from ocrsdk.com.

youquanli avatar youquanli commented on August 15, 2024

Thank you for your quick consideration.
I'm trying to recognize images of handwritten text and I've tried with that option.
Unfortunately, it doesn't work so well, so I'm afraid I have to find another service.
Now I've been looking for a good one for over 2 weeks, but no luck.
I should be grateful if you could recommend one if any.
Thank you.

from ocrsdk.com.

Dmitry-Me avatar Dmitry-Me commented on August 15, 2024

What's your scenario? Do you have predefined forms with known layout?

from ocrsdk.com.

Dmitry-Me avatar Dmitry-Me commented on August 15, 2024

The issue with overly optimistic handling of finished tasks should have been fixed with this commit e0fb87d

from ocrsdk.com.

youquanli avatar youquanli commented on August 15, 2024

I'm trying to recognize the following sample image, but I couldn't get result. Thanks.

untitled1

from ocrsdk.com.

Dmitry-Me avatar Dmitry-Me commented on August 15, 2024

What's the problem exactly? What do you do and what do you get that doesn't meet your expectation?

from ocrsdk.com.

youquanli avatar youquanli commented on August 15, 2024

I've uploaded the above image and got:(Now I'm using the sample project with app id and secret replaced)

0
CD

from ocrsdk.com.

Dmitry-Me avatar Dmitry-Me commented on August 15, 2024

Which API method (and with which parameters) do you use to initiate processing?

from ocrsdk.com.

youquanli avatar youquanli commented on August 15, 2024

I tried with processImage and processTextField methods.

from ocrsdk.com.

Dmitry-Me avatar Dmitry-Me commented on August 15, 2024

processTextField should work. With this image the problem is most likely because of high amounts of noise and low image contrast.

from ocrsdk.com.

youquanli avatar youquanli commented on August 15, 2024

That's right. I think I have to do preprocessing.
Thank you for your help.

from ocrsdk.com.

Dmitry-Me avatar Dmitry-Me commented on August 15, 2024

If this is a photo then you could improve image quality greatly by using proper lighting.

from ocrsdk.com.

anilsutariya avatar anilsutariya commented on August 15, 2024

@Dmitry-Me I am getting below error

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: task.ID'

from ocrsdk.com.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.