Scan Tailor "Enhanced"

Scan Tailor specific announcements, releases, workflows, tips, etc. NO FEATURE REQUESTS IN THIS FORUM, please.

Scan Tailor "Enhanced"

Postby pejuko » 02 Sep 2011, 11:46

Hi,

I've been working on some new ScanTailor features which are in git repository but they are not included in any ScanTailor release yet. I've prepared this development release that you can test and use it if you find it useful.

This release: Tiff compression option allows to disable compression in tiff files or select one of other standard compression methods (lzw, deflate, packbits, jpeg).

Deviation patch enables highligting of different pages. Highlighted in red are pages from Deskew filter with too hight skew, from Select Content filter pages with different size of content and in Margins filter are highlighted pages which does not match others.

Automargins patch allows keep page content on original place. In the Margins step you can choose from Auto, Manual (default) and Original mode.
The manual mode is the original one. Auto mode try to decide if it is better to align page top, bottom or center. Original mode keeps page on their vertical original position.

Pagedetect patch allows detect page in black margins and enables keeping original page layout or switch off page content detection. To detect and keep original page layout from command line try:

Code: Select all
scantailor-cli --disable-content-detection --enable-page-detection --enable-fine-tuning --margins=0 images outdir/


Or you can let the content detection enabled and enable also auto margins:

Code: Select all
scantailor-cli --enable-page-detection --enable-fine-tuning --enable-auto-margins images outdir/


Matchlayout patch adds --match-layout options to cli version which detects atypical pages and does not match their size with others automaticaly.

Pictureshape patch adds option for mixed pages to choose from free shape and rectangular shape images. This patch does not improve the original algoritm but creates from the detected "blobs" rectangular shapes and the rectangles that intersects joins to one.

For windows I've compiled executable installation package. Other platforms have to compile from prepared source code which you can download from the same place or merge them yourselfs from git.

You can download the files from https://sourceforge.net/projects/scantailor/files/scantailor-devel/enhanced/

Latest version: 20120503
This post updated 5/3/2012

Petr Kovar
Last edited by pejuko on 14 Dec 2011, 07:17, edited 2 times in total.
pejuko
 
Posts: 30
Joined: 17 Feb 2011, 17:06

Re: Scan Tailor "Enhanced"

Postby Misty » 02 Sep 2011, 11:59

Hi, Petr,

Is this release stable enough for general use? Is there a git tag I can use to pull the code in this release? If so, I was going to add this as a build option in Homebrew so Mac users can easily try out the development release.
The opinions expressed in this post are my own and do not necessarily represent those of the Canadian Museum for Human Rights.
User avatar
Misty
 
Posts: 480
Joined: 06 Nov 2009, 12:20
Location: Frozen Wasteland

Re: Scan Tailor "Enhanced"

Postby Tulon » 02 Sep 2011, 13:31

Hi Petr,

I am glad you still hang around. Your post reminded me I promised you to review the automargins code, which I never did. Sorry about that. I rarely work on ST these days, as I got tired of that. I hope you understand.

I do support people releasing their own versions of ST. After all, the Free Software / Open Source thing is all about being able to do just that. Keep up the good work!
When Scan Tailor asks you to enter DPIs manually, never enter arbitrary values. The video tutorial shows how to estimate the real DPI.
Tulon
 
Posts: 536
Joined: 03 Oct 2009, 06:13
Location: London, UK

Re: Scan Tailor "Enhanced"

Postby daniel_reetz » 02 Sep 2011, 23:15

Petr,

Recognize you from the Scan Tailor dev-list. Thanks for setting this up and sharing with the community here. Hopefully we can help you build for all platforms.
User avatar
daniel_reetz
 
Posts: 2485
Joined: 03 Jun 2009, 13:56

Re: Scan Tailor "Enhanced"

Postby eL_PuSHeR » 03 Sep 2011, 04:11

Thank you very much for this release. Your hard work is appreciated.
eL_PuSHeR
 
Posts: 123
Joined: 28 Jun 2010, 15:25

Re: Scan Tailor "Enhanced"

Postby jimboh » 05 Sep 2011, 01:47

Would you post a screenshot of Pictureshape in action?
User avatar
jimboh
 
Posts: 74
Joined: 06 Jan 2011, 00:55

Re: Scan Tailor "Enhanced"

Postby pejuko » 05 Sep 2011, 05:18

jimboh wrote:Would you post a screenshot of Pictureshape in action?


There is an example:

The original "free shape" mode:
scantailor-freeshape.cut.400.jpg
scantailor-freeshape.cut.400.jpg (28.61 KiB) Viewed 8026 times


and "rectangular shape" mode:
scantailor-rectangularshape.cut.400.jpg
scantailor-rectangularshape.cut.400.jpg (23.98 KiB) Viewed 8026 times


Both screen-shots are taken with Picture Zones enabled.
pejuko
 
Posts: 30
Joined: 17 Feb 2011, 17:06

Re: Scan Tailor "Enhanced"

Postby pejuko » 05 Sep 2011, 05:25

Tulon wrote:I do support people releasing their own versions of ST. After all, the Free Software / Open Source thing is all about being able to do just that. Keep up the good work!


Would it be possible to create on SF new folder for such releases?
pejuko
 
Posts: 30
Joined: 17 Feb 2011, 17:06

Re: Scan Tailor "Enhanced"

Postby Tulon » 05 Sep 2011, 05:53

Yes, sure. I just gave you file release permissions. Now you should be able to create folders and upload files.
When Scan Tailor asks you to enter DPIs manually, never enter arbitrary values. The video tutorial shows how to estimate the real DPI.
Tulon
 
Posts: 536
Joined: 03 Oct 2009, 06:13
Location: London, UK

Re: Scan Tailor "Enhanced"

Postby pejuko » 05 Sep 2011, 10:42

Misty wrote:Is this release stable enough for general use? Is there a git tag I can use to pull the code in this release? If so, I was going to add this as a build option in Homebrew so Mac users can easily try out the development release.


Misty,

I'm using ScanTailor mostly on linux and with the cli version I've processed automatically thousands of pages with very good result.

Files are now on SourceForge in subdirectory:
https://sourceforge.net/projects/scantailor/files/scantailor-devel/enhanced/
so it should be more comfortable for packagers to download them now.

Instead of pulling from git I recommend to use the .tar.gz package. It's merged from four branches and there are conflicts.
pejuko
 
Posts: 30
Joined: 17 Feb 2011, 17:06

Next

Return to Scan Tailor

Who is online

Users browsing this forum: No registered users and 2 guests