Daniel Reetz, the founder of the DIY Book Scanner community, has recently started making videos of prototyping and shop tips. If you are tinkering with a book scanner (or any other project) in your home shop, these tips will come in handy. https://www.youtube.com/channel/UCn0gq8 ... g_8K1nfInQ

ANNOUNCEMENT: Scan Tailor Command Line Interface

Scan Tailor specific announcements, releases, workflows, tips, etc. NO FEATURE REQUESTS IN THIS FORUM, please.
User avatar
daniel_reetz
Posts: 2780
Joined: 03 Jun 2009, 13:56
E-book readers owned: Used to have a PRS-500
Number of books owned: 600
Country: United States
Contact:

ANNOUNCEMENT: Scan Tailor Command Line Interface

Post by daniel_reetz » 17 Feb 2011, 18:40

On the Scan Tailor developers mailing list, Petr Kovář has been working steadily on a command-line version of Scan Tailor. In his own words (emphasis mine):
Petr Kovář wrote:Hi all,

I've just pushed latest chages to cli branch. It is possible now run scantailor
from command line and change almost all attributes accessible from GUI including
manual content box setting.
Page splitting filter is, however, not working for
unknown reasons yet.

I would appreciate some testing and feedback from you. After compiling run
scantailor -h for more information. -v for verbose mode.

TODO:
-- working with project files
-- make page splitting work

best regards,
Petr
I've asked Petr for a Linux binary, and Tulon himself has produced a Windows binary for us to test. Please, take a moment and test out this exciting new version of Scan Tailor - which will allow all kinds of automation for our future scans! Also, my thanks go out to Petr - many of us have wanted a CLI to Scan Tailor for quite some time.

Tulon's Windows binary is here.
I'll update when a Linux or Mac version become available.

For those of you who know what Git is and how to use it:
git checkout --track -b cli origin/cli

Tulon
Posts: 687
Joined: 03 Oct 2009, 06:13
Number of books owned: 0
Location: London, UK
Contact:

Re: ANNOUNCEMENT: Scan Tailor Command Line Interface

Post by Tulon » 17 Feb 2011, 19:02

Keep in mind it will overwrite your existing Scan Tailor installation unless you specify a different installation directory.
Scan Tailor experimental doesn't output 96 DPI images. It's just what your software shows when DPI information is missing. Usually what you get is input DPI times the resolution enhancement factor.

spamsickle
Posts: 596
Joined: 06 Jun 2009, 23:57

Re: ANNOUNCEMENT: Scan Tailor Command Line Interface

Post by spamsickle » 17 Feb 2011, 21:50

I tried the Windows binary, but typing scantailor -h or scantailor -v just starts the GUI version for me. Control-C in the command window returns "QObject::killTimers: timers cannot be stopped from another thread", closing the GUI from the GUI returns the command prompt with no message. "Help/About" in the GUI tells me I'm running CLI-2011-02-17. I'm running Windows XP SP3, if that makes a difference.

Anonymous1

Re: ANNOUNCEMENT: Scan Tailor Command Line Interface

Post by Anonymous1 » 17 Feb 2011, 22:20

That happens when a non-Qt GUI thread tries to terminate the application. Bugfix, anyone?

E^3
Posts: 41
Joined: 12 Jul 2010, 21:06

Re: ANNOUNCEMENT: Scan Tailor Command Line Interface

Post by E^3 » 22 Feb 2011, 04:08

Hi Sir Daniel,

I wish that all the scantailor's imaging features can be process CLI's
then excited to test it..

Just please post the site where to download it,

Thanks

E^3

User avatar
daniel_reetz
Posts: 2780
Joined: 03 Jun 2009, 13:56
E-book readers owned: Used to have a PRS-500
Number of books owned: 600
Country: United States
Contact:

Re: ANNOUNCEMENT: Scan Tailor Command Line Interface

Post by daniel_reetz » 22 Feb 2011, 11:13

Hey E^3, it is exciting, isn't it?

Here's ST CLI for Linux/Debian: http://depositfiles.com/en/files/mc0djznb5
Here's ST CLI for Windows (has some problems right now) http://depositfiles.com/files/icy7sgqos

Please beta test these and send back your results.

User avatar
dingodog
Posts: 106
Joined: 22 Jul 2010, 18:19
Number of books owned: 1000
Country: on the net
Location: on the net
Contact:

Re: ANNOUNCEMENT: Scan Tailor Command Line Interface

Post by dingodog » 23 Feb 2011, 14:15

I'm unable to test binary build for Linux

compiled version does not matches my GLIBC version

Code: Select all

scantailor: /lib/libc.so.6: version `GLIBC_2.11' not found (required by scantailor)
scantailor: /usr/lib/libpng12.so.0: no version information available (required by scantailor)
scantailor: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by scantailor)
scantailor: /usr/lib/libpng12.so.0: no version information available (required by /usr/lib/libQtGui.so.4)
so I need source code in order to try to build for my environment or, if possible, developer must try to build avoiding these problems, making app statically

User avatar
daniel_reetz
Posts: 2780
Joined: 03 Jun 2009, 13:56
E-book readers owned: Used to have a PRS-500
Number of books owned: 600
Country: United States
Contact:

Re: ANNOUNCEMENT: Scan Tailor Command Line Interface

Post by daniel_reetz » 23 Feb 2011, 16:18

Scan Tailor's git repository:
git://scantailor.git.sourceforge.net/

E^3
Posts: 41
Joined: 12 Jul 2010, 21:06

Re: ANNOUNCEMENT: Scan Tailor Command Line Interface

Post by E^3 » 24 Feb 2011, 00:20

Hello Sir Daniel,

Good Morning.

Aye Sir! I will test it , then send a feed back to this Forum.
Actually this is a missing link in my Robot Scanner Software(its a miracle for Sir Tulon initiative)
daniel_reetz wrote:Hey E^3, it is exciting, isn't it?

Here's ST CLI for Linux/Debian: http://depositfiles.com/en/files/mc0djznb5
Here's ST CLI for Windows (has some problems right now) http://depositfiles.com/files/icy7sgqos

Please beta test these and send back your results.
Soon , we're done with patenting ,our project we'll be posted here..


Thanks and more power


E^3

User avatar
Misty
Posts: 481
Joined: 06 Nov 2009, 12:20
Number of books owned: 0
Location: Frozen Wasteland

Re: ANNOUNCEMENT: Scan Tailor Command Line Interface

Post by Misty » 25 Feb 2011, 13:05

I was able to get the ST CLI version to successfully compile in Mac OS X. What's the best way to package that for other users? Is there a static compilation option?
The opinions expressed in this post are my own and do not necessarily represent those of the Canadian Museum for Human Rights.

Post Reply