Zum Inhalt springen

Benuter zur Admingruppe hinzufügen: Unterschied zwischen den Versionen

Aus Computech CMS Wiki
Simon Zeberli (Diskussion | Beiträge)
Die Seite wurde neu angelegt: „==PDF to Image== Step 1: Install needed packages sudo apt-get install tesseract-ocr tesseract-ocr-deu xpdf imagemagick xpdf-utils Step 2: See if you actually…“
 
Simon Zeberli (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
 
Zeile 1: Zeile 1:
==PDF to Image==
==Ein benutzer der Administrator gruppe hinzufügen==
Step 1: Install needed packages
  sudo nano /etc/sudoers
  sudo apt-get install tesseract-ocr tesseract-ocr-deu xpdf imagemagick xpdf-utils
 
Step 2: See if you actually need ocr
  simon    ALL=(ALL:ALL) ALL
  pdftotext
Step 3: convert (all PDF files convert to PNG)
for file in *.pdf ; do convert -density 300 "$file" "${file%.png}.png" ; done
Step 4: OCR ( All PNG to txt file
for file in *.png ; do tesseract "$file" "${file%}" ; done

Aktuelle Version vom 16. Mai 2015, 20:15 Uhr

Ein benutzer der Administrator gruppe hinzufügen

sudo nano /etc/sudoers
simon    ALL=(ALL:ALL) ALL