Menu

#115 Maximum size of picture

4.X
closed
nobody
None
2019-10-18
2019-10-02
No

when i call Capture2 Text with a .jpg of 2 Mb, i have the impression that the program hangs...
what is the maximum size ?
the command line from my application is :
cmd /C "C:\Program Files\Capture2Text\Capture2Text_CLI.exe" -i D:\DropBox\MgData\SOS\Talon\BV-24-TAP.JPG -b -o texte.txt
Anything wrong in that ?
thanks in advance for your help
Jacques

1 Attachments

Related

Tickets: #115

Discussion

  • cb4960

    cb4960 - 2019-10-04

    Thank you for providing a detailed description of the issue.

    The problem is that Capture2Text is unable to clean the rather busy background of that image resulting in a lot of noise that causes OCR to struggle. To see this for yourself, use the --debug and look at the "debug_enhanced.png" image that gets generated. Capture2Text works best for less complex images. In addition, Capture2Text is optimized for 96 DPI, so when attempting to OCR an image scanned with a high DPI, it may help to reduce the --scale-factor option from the defaut of 3.5 to something lower.

     
    • Jacques Gander

      Jacques Gander - 2019-10-04

      Thanks for your response…

      Sad that this will not be my solution, glad that I (tried) to use it
      correctly…

      And again, thanks for your work…

      Jacques

      De : Christopher Brochtrup cb4960@users.sourceforge.net
      Envoyé : Friday, October 4, 2019 7:33 AM
      À : [capture2text:tickets] 115@tickets.capture2text.p.re.sourceforge.net
      Objet : [capture2text:tickets] #115 Maximum size of picture

      Thank you for providing a detailed description of the issue.

      The problem is that Capture2Text is unable to clean the rather busy
      background of that image resulting in a lot of noise that causes OCR to
      struggle. To see this for yourself, use the --debug and look at the
      "debug_enhanced.png" image that gets generated. Capture2Text works best for
      less complex images. In addition, Capture2Text is optimized for 96 DPI, so
      when attempting to OCR an image scanned with a high DPI, it may help to
      reduce the --scale-factor option from the defaut of 3.5 to something lower.

      Attachments:


      [tickets:#115] https://sourceforge.net/p/capture2text/tickets/115/
      Maximum size of picture

      Status: open
      Milestone: 4.X
      Created: Wed Oct 02, 2019 01:20 PM UTC by Jacques Gander
      Last Updated: Wed Oct 02, 2019 01:20 PM UTC
      Owner: nobody
      Attachments:

      • BV-24-TAP.jpg
        <https://sourceforge.net/p/capture2text/tickets/115/attachment/BV-24-TAP.jpg

        (1.1 MB; image/jpeg)

      when i call Capture2 Text with a .jpg of 2 Mb, i have the impression that
      the program hangs...
      what is the maximum size ?
      the command line from my application is :
      cmd /C "C:\Program Files\Capture2Text\Capture2Text_CLI.exe" -i
      D:\DropBox\MgData\SOS\Talon\BV-24-TAP.JPG -b -o texte.txt
      Anything wrong in that ?
      thanks in advance for your help
      Jacques


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/capture2text/tickets/115/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #115

  • cb4960

    cb4960 - 2019-10-18
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB