TS-Doctor 2.0 www.cypheros.de

Autor Thema: OCR dictionaries  (Gelesen 260 mal)

chemag

  • Newbie
  • *
  • Beiträge: 6
  • DVB User
    • Profil anzeigen
OCR dictionaries
« am: Juli 09, 2019, 19:23:17 »
Is it possible use a spanish dictionary for DVB subtitles conversion?

Is it possible to relunch the DVB Subtitle OCR process only?
If yes, how?

And OCR validation?.

Cypheros

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 7636
    • Profil anzeigen
    • Cypheros Software Seite
Re: OCR dictionaries
« Antwort #1 am: Juli 10, 2019, 18:20:28 »
A spanish dictionary is already implemented.
You can see all dictionaries under "C:\ProgramData\Cypheros\TsDoctor2\OCR\dictionaries".

The OCR process is not implemented as a standalone function.

The OCR validation will be started after OCR process, if activated under Settings/ Preferences/ Teletext/Subtitles.

chemag

  • Newbie
  • *
  • Beiträge: 6
  • DVB User
    • Profil anzeigen
Re: OCR dictionaries
« Antwort #2 am: Juli 11, 2019, 07:12:09 »
Does that option only work with the registered program?
I am still in the evaluation period.

In my installation there is no such subdirectory.

In Settings -> Language I change to Spanish.
but after OK, TSDoctor reloads itself , and when I check it again, it has returned to English value.

Cypheros

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 7636
    • Profil anzeigen
    • Cypheros Software Seite
Re: OCR dictionaries
« Antwort #3 am: Juli 11, 2019, 16:40:17 »
There is no difference between full and trial version.

Please read the folder name carefully: "C:\ProgramData\Cypheros\TsDoctor2\OCR\dictionaries"

It's probably hidden in your system but you can enter the folder name into the address line of the windows file explorer.

Are you sure it's switching back to English?
Spanish translation is not complete, so parts of the captions are still in English.


chemag

  • Newbie
  • *
  • Beiträge: 6
  • DVB User
    • Profil anzeigen
Re: OCR dictionaries
« Antwort #4 am: Juli 11, 2019, 19:14:21 »
>> There is no difference between full and trial version.

Ok. Thank you

Please read the folder name carefully: "C:\ProgramData\Cypheros\TsDoctor2\OCR\dictionaries"

Sorry!. You're right.

Dictionary_spa.db  and FixDictionary_spa.db among other.

>> Are you sure it's switching back to English?
>> Spanish translation is not complete, so parts of the captions are still in English.

Capture secuence:

Capture 01
Capture 02 -----  Press OK button

Popup window TSDoctor loading displaying progresion bar.

Capture 03

Capture 04   Windows Explorer directory display.

I have sent to you settings.dat via mail.


Cypheros

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 7636
    • Profil anzeigen
    • Cypheros Software Seite
Re: OCR dictionaries
« Antwort #5 am: Juli 11, 2019, 20:04:49 »
No problem here with Spanish language.


Try to load attached registry settings to force TS-Doctor using Spanish language.

chemag

  • Newbie
  • *
  • Beiträge: 6
  • DVB User
    • Profil anzeigen
Re: OCR dictionaries
« Antwort #6 am: Juli 11, 2019, 22:18:01 »
Hello,

I think I have more usefull information.

I usually work with a user without administrator level.
I have followed your instructions and the situation remains the same.
I have changed with regedit the value to GER and SPA, and it was restored to ENG again.

As you tell me that it works for you, I have uninstalled TSDoctor again, I have reinstalled it as administrator, and
I have changed the language to Spanish and in this case it remains.

I have returned to my normal user, and it returns to restore the language to English.
I return to the administrator user and the language remains Spanish.

So the problem must be related to the permission of the user who uses the program.

One thing more.

Please, could you remind me again how to change the OCR dictionary?, it has not been clear to me yet.

Thank you

Cypheros

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 7636
    • Profil anzeigen
    • Cypheros Software Seite
Re: OCR dictionaries
« Antwort #7 am: Juli 11, 2019, 23:54:07 »
Hi, settings are stored under users key in the registry. If you change the user, that settings are no longer available.

Most people don't know that there is a difference if you login as admin or use "Open as administrator".

If you install TS-Doctor while logged in as admin, you have to use it as admin. If you want to use it as a "common" user, please install it as that "common" user.

But I found a strange problem with the Spanish ocr dictionary. It seams the wrong English dictionary is selected. I will check that.

chemag

  • Newbie
  • *
  • Beiträge: 6
  • DVB User
    • Profil anzeigen
Re: OCR dictionaries
« Antwort #8 am: Juli 12, 2019, 05:03:49 »
 It is clear that the settings are maintained in the user profile:
[HKEY_CURRENT_USER \ Software \ Cypheros \ TSDoctor2 \ Settings]

What catches my attention is that as administrator the changes in Language are maintained while changes to Language with a normal user there is no.

Likewise, Application Report works as an administrator user while it crash when I run it as  a normal user.

Cypheros

  • Administrator
  • Hero Member
  • *****
  • Beiträge: 7636
    • Profil anzeigen
    • Cypheros Software Seite
Re: OCR dictionaries
« Antwort #9 am: Juli 12, 2019, 10:29:39 »
Then your normal user has not sufficient rights to change the registry. Maybe your system has special policies with reduced user rights or a software preventing registry changes.

Maybe the regkeys itself have wrong user rights. Try to uninstall TS-Doctor remove the regkey "Computer\HKEY_CURRENT_USER\Software\Cypheros" with regedit and install TS-Doctor again under your "normal" user account.

Found a bug in the Spanish OCR were the wrong dictionaries were selected. Next version 2.2.22 will fix that bug and the correct dictionaries will be selected.

chemag

  • Newbie
  • *
  • Beiträge: 6
  • DVB User
    • Profil anzeigen
Re: OCR dictionaries
« Antwort #10 am: Juli 12, 2019, 11:01:54 »
Done.
Removed  the regkey "Computer\HKEY_CURRENT_USER\Software\Cypheros" under administrator and "normal" user.

TS-Doctor reinstalled under "normal" user.

Problem remains. Languaje is retored to ENG after changed, and Application Report crash.

Thank you very much for your interest and patience.

 

 


www.cypheros.de