Closed armandolujafresh closed 4 years ago
Hello. Please, make sure that that the database has been downloaded. Otherwise, the scenarios which include OCR functionality won't be available.
The database appears to be downloaded successfully, as the progress is 100%, and it is calling the completionHandler.
I am listing the scenarios available after the database is downloaded (see attached screenshot): Screen Shot 2020-04-23 at 5.00.30 PM.png (59K) https://mail.google.com/mail/u/0?ui=2&ik=dfa3b5efce&attid=0.1&permmsgid=msg-a:r7677153432705581124&view=att&disp=safe&realattid=f_k9e5gqie0
I tried uninstalling and re-installing the app, same problem.
How would you suggest we debug this issue?
Thanks,
On Fri, Apr 24, 2020 at 3:14 AM Vladislav Yakimchik < notifications@github.com> wrote:
Hello. Please, make sure that that the database has been downloaded. Otherwise, the scenarios which include OCR functionality won't be available.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/regulaforensics/DocumentReader-Android/issues/18#issuecomment-618845971, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFL4VURPWCKFDR7MU3O5Z3ROE36RANCNFSM4MPNE33A .
--
Armando Luja Mobile Developer
1.260.494.8786 | armando.luja@freshconsulting.com matthew.saboda@freshconsulting.com | FreshConsulting.com https://www.freshconsulting.com/
Please reattach the screenshot as it's missed.
Ok, here is the text:
[image: image.png]
On Fri, Apr 24, 2020 at 8:13 AM Vladislav Yakimchik < notifications@github.com> wrote:
Please reattach the screenshot as it's missed.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/regulaforensics/DocumentReader-Android/issues/18#issuecomment-618973420, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFL4VWKSKSA3FZKW3RAO7LROF7AFANCNFSM4MPNE33A .
--
Armando Luja Mobile Developer
1.260.494.8786 | armando.luja@freshconsulting.com matthew.saboda@freshconsulting.com | FreshConsulting.com https://www.freshconsulting.com/
The license which you bought doesn't support the functionality which uses the FullProcess
scenario, therefore, the FullProcess
scenario isn't available. If you are willing it, reach out to our sales team to discuss all details.
Thanks for the quick response. We have updated the app to use the scenario 'Ocr', and it is working great now.
On Fri, Apr 24, 2020 at 8:31 AM Vladislav Yakimchik < notifications@github.com> wrote:
Closed #18 https://github.com/regulaforensics/DocumentReader-Android/issues/18.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/regulaforensics/DocumentReader-Android/issues/18#event-3269200549, or unsubscribe https://github.com/notifications/unsubscribe-auth/APFL4VTZ25I3YBWQXF7KGXLROGBCXANCNFSM4MPNE33A .
--
Armando Luja Mobile Developer
1.260.494.8786 | armando.luja@freshconsulting.com matthew.saboda@freshconsulting.com | FreshConsulting.com https://www.freshconsulting.com/
Hello,
Regula is initializing, and loading database, but when setting the scenario like this:
We get the following error: "This scenario is not supported"
Could this be a license issue, we are adding regula to a new app with a new license? Or a depencency issue? Below is our implementation of initializing regula. Dependencies are below also.
DocumentReader.Instance().prepareDatabase(appContext, "Passports", object : DocumentReader.DocumentReaderPrepareCompletion { override fun onPrepareProgressChanged(progress: Int) { val downloadingMsg = getString(R.string.regula_dialog_message) loadingDialog!!.setTitle("$downloadingMsg: $progress%") } override fun onPrepareCompleted(status: Boolean, error: String) { DocumentReader.Instance().initializeReader( appContext, license ) { success, error_initializeReader -> if (success) { if (loadingDialog!!.isShowing) { loadingDialog!!.dismiss() } DocumentReader.Instance().processParams().scenario = "FullProcess" DocumentReader.Instance().showScanner(completion) } else { onDocumentCaptureFailure(-200) } } } })
Dependencies:
build.gradle
app/build.gradle