TheJoeFin / Text-Grab

Use OCR in Windows quickly and easily with Text Grab. With optional background process and notifications.
https://www.microsoft.com/en-us/p/text-grab/9mznkqj7sl0b?cid=TextGrabGitHub
MIT License
3.15k stars 216 forks source link

Can't turn on option «Enable Tesseract within Text Grab» - it automatically turns off #448

Closed morozover closed 4 months ago

morozover commented 5 months ago

Describe the bug Can't turn on option «Enable Tesseract within Text Grab» - it automatically turns off

Where is the bug

To Reproduce Steps to reproduce the behavior:

  1. Install Tesseract 5.3.3 on Windows (https://github.com/UB-Mannheim/tesseract/wiki)
  2. Place eng.traineddata to \tessdata\ folder
  3. Try Tesseract via CLI - it works correctly
  4. Open Settings of Text Grab, than Tess section
  5. Specify path to tesseract.exe
  6. Turn on option «Enable Tesseract within Text Grab»
  7. Switch to other section (for example Langs)
  8. Switch to Tess section
  9. Option «Enable Tesseract within Text Grab» is turned off

Expected behavior Option «Enable Tesseract within Text Grab» stays turned on and doesn't turn off

Screenshots See GIF 12345

Where did you get Text Grab?

Desktop (please complete the following information):

TheJoeFin commented 4 months ago

@morozover this does seem like a bug. For now I think a workaround might be:

Let me know if that does the trick or not.

morozover commented 4 months ago

It doesn't work

Steps:

  1. Enter the path of Tesseract.exe
  2. Close settings window
  3. Open settings window
  4. Bug: The path field is empty
TheJoeFin commented 4 months ago

Found a bug. Fix should be coming soon. Thank you for reporting!