Warning, /graphics/kooka/doc/index.docbook is written in an unsupported language. File is not indexed.
0001 <?xml version="1.0" ?> 0002 <!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [ 0003 <!ENTITY % addindex "IGNORE"> 0004 <!ENTITY % English "INCLUDE"> <!-- change language only here --> 0005 ]> 0006 0007 <book id="kooka" lang="&language;"> 0008 0009 <bookinfo> 0010 <title>The &kooka; Manual</title> 0011 0012 <authorgroup> 0013 <author> <firstname>Martin</firstname> 0014 <surname>Sommer</surname> 0015 <affiliation><address><email>msommer@suse.de</email></address></affiliation> 0016 </author> 0017 <othercredit role="developer"> 0018 <firstname>Klaas</firstname> 0019 <surname>Freitag</surname> 0020 <affiliation> 0021 <address><email>freitag@suse.de</email></address> 0022 </affiliation> 0023 <contrib>Developer</contrib> 0024 </othercredit> 0025 0026 <!-- TRANS:ROLES_OF_TRANSLATORS --> 0027 0028 </authorgroup> 0029 0030 <copyright> 0031 <year>2002</year> 0032 <holder>Klaas Freitag, Martin Sommer</holder> 0033 </copyright> 0034 0035 <legalnotice 0036 >&FDLNotice;</legalnotice> 0037 0038 <date>2017-07-17</date> 0039 <releaseinfo>&kooka; 0.90</releaseinfo> 0040 0041 <abstract><para>&kooka; allows you to scan, save and view in any image format that &Qt; supports, 0042 and can perform optical character recognition.</para></abstract> 0043 0044 <keywordset> 0045 <keyword>OCR</keyword> 0046 <keyword>Scanner</keyword> 0047 </keywordset> 0048 0049 </bookinfo> 0050 0051 <chapter id="introduction"> 0052 <title>Introduction</title> 0053 0054 <para>&kooka; is an application that provides access to scanner hardware 0055 using the <ulink url="http://www.sane-project.org/">SANE</ulink> library. 0056 Therefore, the <acronym>SANE</acronym> package must be installed to use &kooka;.</para> 0057 0058 <para>&kooka; allows you to scan, save and view in any image format that &Qt; supports.</para> 0059 0060 <para>Character recognition is also provided by using the open source 0061 <ulink url="http://jocr.sourceforge.net/">GOCR</ulink> or 0062 <ulink url="http://www.gnu.org/software/ocrad/ocrad.html">OCRAD</ulink> programs, 0063 or the commercial <ulink url="https://rerecognition.com/en/products/kadmos-icr-ocr/">KADMOS</ulink> 0064 library. You have to install at least one of these software packages to 0065 use this functionality. After character recognition is complete, a spellcheck 0066 is automatically started for the recognized material. You can edit the content 0067 in the <guilabel>OCR</guilabel> window and export it as plain text. 0068 </para> 0069 0070 </chapter> 0071 0072 <chapter id="how-to-use"> 0073 <title>Application Instructions</title> 0074 0075 <para>The web site <ulink 0076 url="http://www.sane-project.org/">http://www.sane-project.org</ulink> 0077 has information about supported scanners. Refer to it before 0078 purchasing a scanner, if possible.</para> 0079 0080 <sect1 id="screen"> 0081 <title>The &kooka; Main Window</title> 0082 0083 <screenshot> 0084 <screeninfo>The &kooka; Main Window </screeninfo> 0085 <mediaobject> 0086 <imageobject> 0087 <imagedata fileref="kooka_mainctrl.png" format="PNG"/></imageobject> 0088 </mediaobject> 0089 0090 </screenshot> 0091 0092 <para>Start &kooka; from a console by simply entering 0093 <userinput><command>kooka</command></userinput> or select it from the 0094 <guilabel>Graphics</guilabel> submenu in the application starter. 0095 Create a link on the desktop, which uses a scanner icon, if desired.</para> 0096 0097 <para>To use &kooka; only for optical character recognition without connecting to 0098 a scanner start the application in gallery mode with <userinput><command>kooka</command> 0099 <option>-g</option></userinput>.</para> 0100 0101 <para>The main window in &kooka; consists of three frames. At the top, 0102 see both icon and a menu panels. Use the mouse to enlarge or reduce 0103 the windows as needed.</para> 0104 0105 <itemizedlist> 0106 <listitem> 0107 <para>The navigation window consists of three tabs, which allow you to 0108 switch between the <guilabel>Scan</guilabel>, <guilabel>OCR</guilabel> and the integrated 0109 file browser called the <guilabel>Gallery</guilabel>. The working 0110 folder is displayed in the upper part of the window along with the 0111 folder where the scan will be saved.</para> 0112 </listitem> 0113 0114 <listitem> 0115 <para>Make your scanner-dependent settings, which are dependent on the 0116 scanner you have connected, in the lower left window. Usually, these 0117 are settings for resolution, brightness and contrast, scanning mode 0118 (⪚, color, gray, or binary), and for gamma values.</para> 0119 0120 <para>Configure your settings here first. Afterwards, initiate the 0121 preview scan with <guimenuitem>Preview</guimenuitem>. The scan result will 0122 then appear in the right pane.</para> 0123 0124 <para>Select the area to scan in the preview image itself with the mouse 0125 to define the final dimensions.</para> 0126 0127 <para>After this is done, click <guimenu>Scan</guimenu> to scan the 0128 selection made in the preview. After scanning, you will be asked in 0129 which format to save the image whether to make this your standard 0130 format (without being prompted to confirm your selection in the 0131 future).</para> 0132 0133 <note><para>If you checked that you do not want to be asked about the 0134 save format, the memory assistant will no longer appear. To change the 0135 format some time in the future, select <menuchoice> 0136 <guimenu>Settings</guimenu> <guimenuitem>Configure 0137 Kooka...</guimenuitem> <guimenuitem>Image Saving</guimenuitem> 0138 <guimenuitem>Always use the Save Assistant</guimenuitem> 0139 </menuchoice></para></note> 0140 0141 </listitem> 0142 <listitem> 0143 <para>The large window shows how the image appears after a final 0144 scan.</para> 0145 </listitem> 0146 </itemizedlist> 0147 0148 </sect1> 0149 0150 </chapter> 0151 0152 <chapter id="commands-configuration"> 0153 <title>Command Reference and Configuration</title> 0154 0155 <sect1 id="command"> 0156 <title>The &kooka; Menubar</title> 0157 0158 <sect2> 0159 <title>The File Menu</title> 0160 0161 <variablelist> 0162 <varlistentry> 0163 <term> 0164 <menuchoice> 0165 <guimenu>File</guimenu> 0166 <guimenuitem>New Folder...</guimenuitem> 0167 </menuchoice></term> 0168 <listitem> 0169 <para>Create a new folder to hold your images in the <guilabel>Kooka Gallery</guilabel>.</para> 0170 </listitem> 0171 </varlistentry> 0172 0173 <varlistentry> 0174 <term> 0175 <menuchoice> 0176 <shortcut> 0177 <keycombo action="simul">&Ctrl;<keycap>S</keycap></keycombo> 0178 </shortcut> 0179 <guimenu>File</guimenu> 0180 <guimenuitem>Save Image</guimenuitem> 0181 </menuchoice></term> 0182 <listitem> 0183 <para>Save the image selected underneath the 0184 <guilabel>Kooka Gallery</guilabel> to a different folder on your disk.</para> 0185 <para>See the <link linkend="save"> Save</link> 0186 section for details.</para> 0187 </listitem> 0188 </varlistentry> 0189 0190 <!-- 0191 Import Image... 0192 Rename Folder F2 0193 --> 0194 <varlistentry> 0195 <term> 0196 <menuchoice> 0197 <shortcut> 0198 <keycombo action="simul">&Shift;<keysym>Del</keysym></keycombo> 0199 </shortcut> 0200 <guimenu>File</guimenu> 0201 <guimenuitem>Delete Folder</guimenuitem> 0202 </menuchoice></term> 0203 <listitem> 0204 <para>Delete the folder selected underneath the 0205 <guilabel>Kooka Gallery</guilabel>.</para> 0206 </listitem> 0207 </varlistentry> 0208 0209 <!-- 0210 Properties... Alt+Return 0211 --> 0212 <varlistentry> 0213 <term> 0214 <menuchoice><shortcut> 0215 <keycombo action="simul">&Ctrl;<keycap>N</keycap></keycombo> 0216 </shortcut> 0217 <guimenu>File</guimenu> 0218 <guimenuitem>New Image From Selection</guimenuitem> 0219 </menuchoice></term> 0220 <listitem> 0221 <para>If the scanned image includes more than you want to appear in the final 0222 image, use this tool to crop your image by marking your selection in 0223 the larger image display to the right then selecting this tool. The 0224 image is cropped according to your selection. You may already be 0225 familiar with this function from &kolourpaint; 0226 crop tool.</para> 0227 </listitem> 0228 </varlistentry> 0229 0230 <varlistentry> 0231 <term> 0232 <menuchoice> 0233 <guimenu>File</guimenu> 0234 <guimenuitem>Unload Image</guimenuitem> 0235 </menuchoice></term> 0236 <listitem> 0237 <para>Remove the image displayed in the Image Viewer.</para> 0238 </listitem> 0239 </varlistentry> 0240 0241 <varlistentry> 0242 <term> 0243 <menuchoice> 0244 <shortcut> 0245 <keycombo action="simul">&Ctrl;<keycap>P</keycap></keycombo> 0246 </shortcut> 0247 <guimenu>File</guimenu> 0248 <guimenuitem>Print</guimenuitem> 0249 </menuchoice></term> 0250 <listitem> 0251 <para>Prints the displayed image.</para> 0252 </listitem> 0253 </varlistentry> 0254 0255 <varlistentry> 0256 <term> 0257 <menuchoice> 0258 <shortcut> 0259 <keycombo action="simul">&Ctrl;<keycap>Q</keycap></keycombo> 0260 </shortcut> 0261 <guimenu>File</guimenu> 0262 <guimenuitem>Quit</guimenuitem> 0263 </menuchoice></term> 0264 <listitem> 0265 <para>Quit &kooka;.</para> 0266 </listitem> 0267 </varlistentry> 0268 0269 </variablelist> 0270 </sect2> 0271 0272 <sect2> 0273 <title>The Scan Menu</title> 0274 0275 <variablelist> 0276 <!-- 0277 Preview F3 0278 Start Scan F4 0279 Photocopy... Ctrl+F 0280 Auto Select Ctrl+A 0281 Scan Parameters... Ctrl+Shift+S 0282 --> 0283 <varlistentry> 0284 <term> 0285 <menuchoice><guimenu>Scan</guimenu> 0286 <guimenuitem>OCR Image...</guimenuitem> 0287 </menuchoice></term> 0288 <listitem> 0289 <para>Start the optical character recognition (<acronym>OCR</acronym>) 0290 of the whole image using the recognition system defined on the 0291 <guilabel>OCR</guilabel> page in the settings dialog. This 0292 starts the character recognition for the preview image.</para> 0293 </listitem> 0294 </varlistentry> 0295 0296 <varlistentry> 0297 <term><menuchoice> 0298 <guimenu>Scan</guimenu> 0299 <guimenuitem>OCR Selection...</guimenuitem> 0300 </menuchoice></term> 0301 <listitem> 0302 <para>A window will reappear for the character recognition. Here, 0303 however, the character recognition is only for the area highlighted in 0304 the final scan.</para> 0305 </listitem> 0306 </varlistentry> 0307 <!-- 0308 Spell Check OCR Result... 0309 Save OCR Result Text... Ctrl+U 0310 --> 0311 </variablelist> 0312 </sect2> 0313 0314 <sect2> 0315 <title>The Image Menu</title> 0316 0317 <para>The actions in this menu are also available in the context menu 0318 of the preview window.</para> 0319 0320 <variablelist> 0321 0322 <varlistentry> 0323 <term> 0324 <menuchoice><shortcut> 0325 <keycombo action="simul">&Ctrl;<keycap>I</keycap></keycombo> 0326 </shortcut> 0327 <guimenu>Image</guimenu> 0328 <guimenuitem>Scale to Width</guimenuitem> 0329 </menuchoice></term> 0330 <listitem > 0331 <para>This proportionally scales the image in the large canvas to the 0332 width of the display.</para> 0333 </listitem> 0334 </varlistentry> 0335 0336 <varlistentry> 0337 <term> 0338 <menuchoice><shortcut> 0339 <keycombo action="simul">&Ctrl;<keycap>H</keycap></keycombo> 0340 </shortcut> 0341 <guimenu>Image</guimenu> 0342 <guimenuitem>Scale to Height</guimenuitem> 0343 </menuchoice></term> 0344 <listitem> 0345 <para>Proportionately scales the image to the height of the 0346 display.</para> 0347 </listitem > 0348 </varlistentry> 0349 0350 <varlistentry> 0351 <term > 0352 <menuchoice><shortcut> 0353 <keycombo action="simul">&Ctrl;<keycap>1</keycap></keycombo> 0354 </shortcut> 0355 <guimenu>Image</guimenu> 0356 <guimenuitem>Original Size</guimenuitem> 0357 </menuchoice></term> 0358 <listitem> 0359 <para>Restores the original scan size by reducing or enlarging the 0360 image in the display.</para> 0361 0362 <para>There are additional methods of scaling an image: 0363 <mousebutton>right</mousebutton> click the image display. Redefine the 0364 three named options and set the enlargement itself. This can also be 0365 done in the <guilabel>Preview</guilabel> window.</para> 0366 </listitem> 0367 </varlistentry> 0368 <!-- 0369 Set Zoom... 0370 Keep Zoom Setting Ctrl+Z 0371 --> 0372 <varlistentry> 0373 <term> 0374 <menuchoice><shortcut> 0375 <keycombo action="simul">&Ctrl;<keycap>V</keycap></keycombo> 0376 </shortcut> 0377 <guimenu>Image</guimenu> 0378 <guimenuitem>Mirror Vertically</guimenuitem> 0379 </menuchoice></term> 0380 <listitem> 0381 <para>Flip image vertically.</para> 0382 </listitem> 0383 </varlistentry> 0384 0385 <varlistentry> 0386 <term><menuchoice><shortcut> 0387 <keycombo action="simul">&Ctrl;<keycap>M</keycap></keycombo> 0388 </shortcut> 0389 <guimenu>Image</guimenu> 0390 <guimenuitem>Mirror Horizontally</guimenuitem> 0391 </menuchoice> 0392 </term> 0393 <listitem> 0394 <para>Flip image horizontally.</para> 0395 </listitem> 0396 </varlistentry> 0397 0398 <varlistentry> 0399 <term> 0400 <menuchoice><shortcut> 0401 <keycombo action="simul">&Ctrl;<keycap>7</keycap></keycombo> 0402 </shortcut> 0403 <guimenu>Image</guimenu> 0404 <guimenuitem>Rotate Counter-Clockwise</guimenuitem> 0405 </menuchoice> 0406 </term> 0407 <listitem> 0408 <para>Rotate the image ninety degrees counterclockwise.</para> 0409 </listitem> 0410 </varlistentry> 0411 0412 <varlistentry> 0413 <term> 0414 <menuchoice><shortcut> 0415 <keycombo action="simul">&Ctrl;<keycap>9</keycap></keycombo> 0416 </shortcut> 0417 <guimenu>Image</guimenu> 0418 <guimenuitem>Rotate Clockwise</guimenuitem> 0419 </menuchoice></term> 0420 <listitem> 0421 <para>Rotate the image ninety degrees clockwise.</para> 0422 </listitem> 0423 </varlistentry> 0424 0425 <varlistentry> 0426 <term> 0427 <menuchoice><shortcut> 0428 <keycombo action="simul">&Ctrl;<keycap>8</keycap></keycombo> 0429 </shortcut> 0430 <guimenu>Image</guimenu> 0431 <guimenuitem>Rotate image 180 degrees</guimenuitem> 0432 </menuchoice> 0433 </term> 0434 <listitem> 0435 <para>Rotates image 180 degrees.</para> 0436 </listitem> 0437 </varlistentry> 0438 </variablelist> 0439 </sect2> 0440 0441 <sect2> 0442 <title>The Settings Menu</title> 0443 0444 <para>Apart from the common &kde; <guimenu>Settings</guimenu> and <guimenu>Help</guimenu> 0445 menus described in the <ulink url="help:/fundamentals/menus.html">Menu</ulink> 0446 chapter of the &kde; Fundamentals documentation &kooka; has these application specific menu entries: 0447 </para> 0448 0449 <variablelist> 0450 0451 <varlistentry> 0452 <term> 0453 <menuchoice> 0454 <guimenu>Settings</guimenu> 0455 <guimenuitem>Select Scan Device...</guimenuitem> 0456 </menuchoice> 0457 </term> 0458 <listitem> 0459 <para>If you have several scanners use this action to select a scanner and 0460 use a certain device always at startup.</para> 0461 </listitem> 0462 </varlistentry> 0463 0464 <varlistentry> 0465 <term> 0466 <menuchoice> 0467 <guimenu>Settings</guimenu> 0468 <guimenuitem>Add Scan Device...</guimenuitem> 0469 </menuchoice> 0470 </term><listitem> 0471 <para>Add a device which is not automatically detected at startup of &kooka;.</para> 0472 </listitem> 0473 </varlistentry> 0474 0475 </variablelist> 0476 </sect2> 0477 0478 </sect1> 0479 0480 0481 <sect1 id="configuration"> 0482 <title>Configuring Kooka</title> 0483 0484 <variablelist> 0485 <varlistentry> 0486 <term> 0487 <menuchoice> 0488 <guilabel>General</guilabel> 0489 </menuchoice> 0490 </term> 0491 <listitem> 0492 <para>Use the button in this section to reenable all messages and questions 0493 hidden by using <guibutton>Don't ask me again</guibutton>.</para> 0494 </listitem> 0495 </varlistentry> 0496 0497 <varlistentry> 0498 <term> 0499 <menuchoice> 0500 <guilabel>Startup</guilabel> 0501 </menuchoice> 0502 </term> 0503 <listitem> 0504 <para>You may want to uncheck <guilabel>Show the scanner selection dialog 0505 </guilabel>, if you have only one scanner. If you 0506 have only one computer you may also want to uncheck 0507 <guilabel>Query network for available scanners</guilabel>. 0508 </para> 0509 </listitem> 0510 </varlistentry> 0511 0512 <varlistentry> 0513 <term> 0514 <menuchoice> 0515 <guilabel>Image Saving</guilabel> 0516 </menuchoice> 0517 </term> 0518 <listitem> 0519 <para> 0520 <guilabel>Always use the Save Assistant</guilabel> 0521 <guilabel>Ask for filename when saving</guilabel> 0522 <guilabel>Before the scan starts</guilabel> / <guilabel>After the scan is finished</guilabel>. 0523 </para> 0524 </listitem> 0525 </varlistentry> 0526 0527 <varlistentry> 0528 <term> 0529 <menuchoice> 0530 <guilabel>Gallery & Thumbnails</guilabel> 0531 </menuchoice> 0532 </term> 0533 <listitem> 0534 <para>Here the size of the thumbnails can be adjusted; 0535 as well as the background. For example, you might want to reduce the 0536 size of the thumbnails if you are scanning many pages from a book. 0537 </para> 0538 <para>In the section <guilabel>Image Gallery</guilabel> select how and where 0539 to show the recent folders.</para> 0540 </listitem> 0541 </varlistentry> 0542 0543 <varlistentry> 0544 <term> 0545 <menuchoice> 0546 <guilabel>OCR</guilabel> 0547 </menuchoice> 0548 </term> 0549 <listitem> 0550 <para>Select the OCR engine and the path to the executable. 0551 </para> 0552 </listitem> 0553 </varlistentry> 0554 0555 </variablelist> 0556 0557 </sect1> 0558 </chapter> 0559 0560 <chapter id="save"> 0561 <title>Save</title> 0562 <subtitle>More on Saving Images</subtitle> 0563 0564 <para>The method for saving an image is somewhat different in &kooka; 0565 than in many other applications. Click the 0566 <guilabel>Gallery</guilabel> tab to open a small file browser. This is 0567 the folder <filename 0568 class="directory">~/Documents/KookaGallery</filename>. In the 0569 window, your current subfolder in the gallery 0570 is shown. This is where all scanned images are first saved as 0571 files. When starting &kooka; for the first time, you will only see the 0572 <filename class="directory">KookaGallery</filename>. Create 0573 subfolders by <mousebutton>right</mousebutton> clicking this 0574 folder. The selected folder, highlighted in blue, is the first save 0575 location of the scanned images. The scans are labeled in ascending 0576 numerical order as in <filename>kscan_0001</filename> and 0577 <filename>kscan_0002</filename>.</para> 0578 0579 <para>To save an image permanently, use <guimenuitem>Rename Image</guimenuitem> 0580 and give a new name and the appropriate ending for 0581 the image format chosen when scanning. If you enter a different 0582 extension, you will get a message that it does not correspond to the 0583 scanned format. Although you can still save the image under this name, 0584 it will retain its original format. At present, 0585 <quote>On-the-fly</quote> conversion is not offered.</para 0586 0587 ><para>If you do not want to use this method of managing your images 0588 in <filename 0589 class="directory">~/Documents/KookaGallery/</filename>, you can, 0590 of course, save them to another location. To do this, 0591 <mousebutton>right</mousebutton> click the 0592 image name and select <guilabel>Save Image</guilabel>. Choose any path 0593 here. In addition, close or permanently delete images here.</para> 0594 0595 <para>To incorporate other images in the gallery, use <menuchoice> 0596 <guimenu>File</guimenu><guimenuitem>Import Image</guimenuitem> 0597 </menuchoice> or add them by dragging and dropping. Open the filemanager to the 0598 folder containing the desired images. Then add them to the &kooka; 0599 gallery by dragging them and dropping them into the gallery.</para> 0600 0601 </chapter> 0602 0603 <chapter id="ocr"> 0604 <title>Character Recognition</title> 0605 0606 <para>As already mentioned, the <application>gocr</application> must 0607 be installed. Scan a preview of your document in grayscale or 0608 color. You can only scan in binary mode if you have a pure white sheet 0609 of paper with black print. Next, highlight the text to be recognized 0610 in the preview window. Then, do your final scan in binary mode with 0611 <guibutton>Scan</guibutton>.</para> 0612 0613 <para>Now click the 0614 <inlinemediaobject><imageobject><imagedata fileref="ocr-select.png" format="PNG"/> 0615 </imageobject></inlinemediaobject> icon in the toolbar, 0616 <guilabel>OCR Selection</guilabel>, or select 0617 this item in the <guilabel>Scan</guilabel> menu. For your 0618 first try, do not change the default settings shown in the emerging 0619 <acronym>OCR</acronym> window. These are usually appropriate and meet 0620 most needs. Now click <guimenuitem>Start OCR</guimenuitem>. 0621 You will now see a window containing the 0622 <acronym>OCR</acronym> results. The quality depends heavily on that of 0623 the document itself. </para> 0624 0625 <screenshot> <screeninfo>The gocr Window</screeninfo> <mediaobject> 0626 <imageobject><imagedata fileref="kooka_gocr.png" 0627 format="PNG"/></imageobject> </mediaobject> </screenshot> 0628 <para>After character recognition is complete, start a spellcheck 0629 for the recognized material. You can edit the content 0630 in the <guilabel>OCR</guilabel> window and export it as plain text. 0631 </para> 0632 <para>After the final scan, mark a selection in the image 0633 display to the right to load just a part of the text or image to the 0634 <acronym>OCR</acronym>. Next, in the toolbar, click the 0635 <inlinemediaobject><imageobject><imagedata fileref="ocr-select.png" format="PNG"/> 0636 </imageobject></inlinemediaobject> icon or click in the menu on 0637 <guimenuitem>OCR Selection</guimenuitem>. Now 0638 proceed as described in the previous section.</para > 0639 0640 <screenshot> 0641 <screeninfo>The Results of the <acronym>OCR</acronym></screeninfo> 0642 <mediaobject> 0643 <imageobject> 0644 <imagedata fileref="kooka_gocr_result.png" 0645 format="PNG"/></imageobject> 0646 </mediaobject> 0647 </screenshot> 0648 0649 </chapter> 0650 0651 <chapter id="credits"> 0652 <title>Credits and License</title> 0653 0654 <para>&kooka;</para> 0655 0656 <para> Copyright for the application 2000-2010, the &kooka; developers and contributors</para> 0657 0658 <para>Copyright for the documentation 2002 Martin Sommer 0659 <email>msommer@suse.de</email></para> 0660 0661 <!-- TRANS:CREDIT_FOR_TRANSLATORS --> 0662 0663 &underFDL; 0664 &underGPL; 0665 0666 </chapter> 0667 </book> 0668