User:Artemis gryllaki/PrototypingIII: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 30: Line 30:
[[File:Screenshot2.png | 600px | thumbnail | left ]]
[[File:Screenshot2.png | 600px | thumbnail | left ]]
<br clear=all>
<br clear=all>
[[File:Screenshot3.png | 600px | thumbnail | left ]]

Revision as of 21:03, 8 July 2019

Publishing an “image gallery”

Imagemagick’s suite of tools includes montage which is quite flexible and useful for making a quick overview page of image.

  • mogrify
  • identify
  • convert
  • Sizing down a bunch of images

Warning: MOGRIFY MODIES THE IMAGES – ERASING THE ORIGINAL – make a copy of the images before you do this!!!

mogrify -resize 1024x *.JPG
Fixing the orientation of images
mogrify -auto-orient *.JPG
Using Montage
montage -label "%f" *.JPG \

   -shadow 
-geometry 1000x1000+100+100
-montage.caption.jpg

Using pdftk to put things together


OCR

tesseract:
In command line: tesseract nameofpicture.png outputbase

Scanning a book page


Output: character recognition with tesseract-ocr / styled with javascript


Screenshot2.png


Screenshot3.png