<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>19542</bug_id>
          
          <creation_ts>2009-04-08 17:13:06 +0400</creation_ts>
          <short_desc>раcпознавание PDF</short_desc>
          <delta_ts>2013-11-25 00:08:56 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>cuneiform-qt</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>NOTABUG</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sergey V Turchin">zerg</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>anubix</cc>
    
    <cc>cas</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88978</commentid>
    <comment_count>0</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2009-04-08 17:13:06 +0400</bug_when>
    <thetext>Единственный раз, когда пришлось столкнуться с распознаванием -- книга в PDF, в которой нет текста. Все картинками. Т.е. команднострочными утилитами вытащить можно, но малоприменимо для &quot;простого пользователя&quot;. В FineReader такая функциональность есть.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88984</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2009-04-08 19:29:26 +0400</bug_when>
    <thetext>Наверно, лучше пропустить через пайп? Посмотрю и реализую в следующих версиях.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88985</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2009-04-08 20:49:15 +0400</bug_when>
    <thetext>Если pdftohtml, то в из моего PDF много JPG получается. По одному на каждую страницу. Т.е. возможность для распознавания сразу нескольких файлов еще нужно реализовать. Из pipe эти файлы точно не полезут.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89019</commentid>
    <comment_count>3</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2009-04-09 15:29:49 +0400</bug_when>
    <thetext>Не подумал. Есть же poppler</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89023</commentid>
    <comment_count>4</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2009-04-09 15:40:51 +0400</bug_when>
    <thetext>gs -dNOPAUSE -q -r300 -sDEVICE=tiffg4 -sPAPERSIZE=a4 -dBATCH -sOutputFile=gl.tif _Glossary.pdf

А дальше - см. TODO по распознаванию многостраничных TIFF. ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>89041</commentid>
    <comment_count>5</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2009-04-09 18:26:50 +0400</bug_when>
    <thetext>(В ответ на комментарий №4)
&gt; gs -dNOPAUSE -q -r300 -sDEVICE=tiffg4 -sPAPERSIZE=a4 -dBATCH
&gt; -sOutputFile=gl.tif _Glossary.pdf
Ну, уж точно Poppler::renderToImage() лучше. Сразу сделает тебе QImage. 
Не знаю, можно ли им не рендерить всё, а только картинки повыдергивать.

Собственно, у меня это (ваrе3)
http://forums.rusmedserv.com/showpost.php?s=98dbcdfddc86a3423486b317ca0d3ded&amp;p=295564&amp;postcount=14</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>143902</commentid>
    <comment_count>6</comment_count>
    <who name="Zerg">anubix</who>
    <bug_when>2013-11-25 00:08:41 +0400</bug_when>
    <thetext>Неактуально уже</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>