OCR License Issue

  • Last Post 19 November 2019
  • Topic Is Solved
dheena raj posted this 06 October 2017

 Hi..i have used Abby RTRSDK for text capture.It was working in sample app.When i implement on my project ,its showing like "AbbyyRTRSDk : No license file". Please help to sort out this issue.What should i do to overcome this issue?

Order By: Standard | Newest | Votes
Oksana S. posted this 06 October 2017

Please make sure that you have added the license file to your project: the valid license should be copied inside the assets directory inside the project structure (for example, as for our sample the directory is sample-textcapture\app\src\main\assets).

Also kindly check that you have specified the correct name of the license file in the code. It must be exactly the same name, because in a LINUX-derived OS capitalization in file names matters.

dheena raj posted this 09 October 2017

Hi i have tried what you said. but still no change.Herewith i have mentioned screenshot of project Architecture and logs.

This logs printed from sample project downloaded :


This logs printed from that copied sample project and pasted in desktop :


2017-10-09 09:05:09.538973+0530 TextCapture[96219:9010093] ABBYY RTR SDK: No license data.


My project structure

Kindly check this and let me know where i did mistake.Thanks in advance.

Oksana S. posted this 09 October 2017

Please try to move the license file from the License folder to the assets folder.

  • Liked by
  • dheena raj
dheena raj posted this 09 October 2017

Thanks. Now i am getting license data length. But another problem occurs. OCR not recognising texts. Its showing error "Invalid recognition language settings. Language is not selected". I have tried that Go to the section "Build Phases" and create "New Copy File Phase", select destination - "Resources" and subpath - "Dictionaries", add the dictionary file to the list. 

dheena raj posted this 10 October 2017

Hi Oksana Serdyuk, Kindly help me to solve this issue. i am stuck in this issue since last two days

Oksana S. posted this 10 October 2017

Have you set a specific recognition language using the setRecognitionLanguages method in your project before OCR? Please see how it is done in our standard sample in RTRViewController.swift.

What recognition language do you try to use? Please be aware that not all languages are available for the free version of RTR SDK. Also please make sure that the corresponding .edс file exists in the ...\assets\dictionaries folder if you use the recognition language with the dictionary support (see Available OCR Languages for more details).

If the issue persists, please share your project to let us investigate it on our side.

dheena raj posted this 10 October 2017

i have set language "ENGLISH" only and also those file is present in  \assets\dictionaries folder..Still issue occurs. How can i share my sample code to you?

dheena raj posted this 10 October 2017

Please find the below dropbox URL of my sample project code. Kindly check once

Project Link : https://www.dropbox.com/s/jv0xb7l1235qiec/Finder.zip?dl=0

dheena raj posted this 10 October 2017

 I have uploaded in Abbyy share.Kindly check now

dheena raj posted this 10 October 2017

I have downloaded sample project and implemented as what you said in video tutorial. i am getting Invalid language settings error and invalid settings error.there is no path for (patterns/FindText.tom)..What should i do overcome this issue?

Oksana S. posted this 11 October 2017

Thank you for the provided information. Unfortunately, currently we do not have enough resources to provide you with a quick solution.

Therefore, we would recommend you to follow the chain of creation of your project from our standard sample to your own project once again. As you wrote in your first post, our standard sample was working fine. Could you please try to begin your development strictly following our documentation and instruction how to build sample application for RTR SDK?

Also please specify why you added the line in your code:

guard let path = Bundle.main.url(forResource:"FindText", withExtension: "rom") ...

In our samples, all dictionaries and patterns are loaded from the corresponding folders of the assets folder. You do not need to open them separately. Your final project should also contain the libs and assets folders and this structure is necessary for the final distribution of your application.

dheena raj posted this 11 October 2017

I have tried to print path of FindText file.i am getting path. But getting error " Invalid settings. There is no data at path: <Patterns/FindText.rom>."  I have followed instruction from article. No  change in result.

  • Liked by
  • deepsheth79
deepsheth79 posted this 20 November 2017

Have you solved this error?

because i am also getting this type of error.Please help me if you have solved this error.

Oksana S. posted this 20 November 2017


Could you please also check whether you have performed the 4th Paragraph from the documentation: https://rtrsdk.com/documentation/ios-quick-start-guide/?

dheena raj posted this 21 November 2017

No deepsheth79..I have tried that whatever they said in documentation.But it does not work for me. I quits AbbyyRTRSDk integration. If you find out  solution,Kindly let me know.

Oksana S. posted this 21 November 2017

@dheena raj, please check whether you have performed the 4th Paragraph from the documentation: https://rtrsdk.com/documentation/ios-quick-start-guide/. This should help.

  • Liked by
  • anup gupta
dheena raj posted this 21 November 2017

@Oksana Serdyuk Already i have tried that one. Ok. Let me try once again.


anup gupta posted this 20 January 2018

Screen shot

madusanka isuru posted this 19 November 2019

Hi I am also facing this issue given answer not work for me please give me an answer