Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Business card image process Cloud OCR SDK below get error #71

Open
anilsutariya opened this issue Nov 23, 2018 · 10 comments
Open

Business card image process Cloud OCR SDK below get error #71

anilsutariya opened this issue Nov 23, 2018 · 10 comments

Comments

@anilsutariya
Copy link

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: task.ID'
*** First throw call stack:
(0x185a1f164 0x184c68528 0x185a1f038 0x1863b97f4 0x1003e4930 0x18641b2e4 0x1859c777c 0x1859c76fc 0x1859c6f84 0x1859c4b5c 0x1858e4c58 0x187790f84 0x18f03d5c4 0x1003e6374 0x18540456c)
libc++abi.dylib: terminating with uncaught exception of type NSException

@Dmitry-Me
Copy link
Contributor

What's the response from the service?

@anilsutariya
Copy link
Author

@Dmitry-Me My problem solved. i did not give parsing format..xml

@Dmitry-Me
Copy link
Contributor

How would that cause this behavior?

@anilsutariya
Copy link
Author

anilsutariya commented Dec 5, 2018

@Dmitry-Me By default iOS SDK give txt format for so we need to change XML

@Dmitry-Me
Copy link
Contributor

Why would using "txt" cause that behavior then?

@anilsutariya
Copy link
Author

@Dmitry-Me I need to scan business card and i want to response in XML format if response type is txt then it crashed.

@Dmitry-Me
Copy link
Contributor

Why would it crash when response was in "txt" format?

@anilsutariya
Copy link
Author

@Dmitry-Me txt format give only string there is no xml format so we can not parse. response have no valid format then it crash.

@Dmitry-Me
Copy link
Contributor

This makes sense, but how would it trigger that specific assertion mentioned in the defect description?

@anilsutariya
Copy link
Author

anilsutariya commented Dec 7, 2018

@Dmitry-Me SDK throw error if we selected wrong format. In starting i have problem to indentify issue.

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

No branches or pull requests

2 participants