Page 10 of 12

Re: Scan Tailor Advanced

Posted: 11 Dec 2018, 07:02
by artelse
Replying on my post as I have fixed the Qt path problem.
on cmake one can pass a path like so:

Code: Select all

-DCMAKE_PREFIX_PATH=/opt/Qt/5.6/lib/cmake
So my final cmake which compiles fine is:

Code: Select all

cmake -G "Unix Makefiles" --build .. -DBOOST_ROOT=/usr/local -DCMAKE_PREFIX_PATH=/opt/Qt/5.6/lib/cmake
Make sure it points to the actual cmake directory and not just to /opt/Qt or something similar.

Re: Scan Tailor Advanced

Posted: 14 Feb 2019, 10:38
by Konos93a
hello is it possible to a next version add the feature Match size by scaling in Margins . it will then have all the features of scan tailor experimental .
now command Match size with other pages is like Match size by growing margins . i prefer your version rather than experimental because output command is perfect . less size , better quality more options and more smooth the results. but i use 2 camera scanner and it is very difficult to have the same cropped sizes of odds and evens pages . Match size by scaling in Margins would correct that.

what difficulties there are to get added ?

in any case thank your for your contribution with your versions

Re: Scan Tailor Advanced

Posted: 27 Feb 2019, 22:27
by alan
I was able to build ScanTailor Advanced on macOS 10.14.3 (Mojave) using Homebrew instead of Macports (as I already use Homebrew).

Code: Select all

brew install boost cmake qt5 libtiff libpng jpeg
git clone https://github.com/4lex4/scantailor-advanced.git
export CMAKE_PREFIX_PATH="/usr/local/opt/qt/lib/cmake"
export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
cd scantailor-advanced
mkdir build && cd build
cmake -G "Unix Makefiles" --build ..
make -j `nproc`
make install
zlib is already available on macOS

The only obvious issue so far is that icons (such as previous/next page) are not properly displayed, but the tooltips work.

i8dcI32QWRfiwVj wrote: 18 Aug 2018, 08:31
i8dcI32QWRfiwVj wrote: 17 Aug 2018, 08:15
codeone wrote: 23 Jul 2018, 08:44
I know your inquiries re: macOS are a few months old, now, but I wanted to note I was able to compile in macOS High Sierra on an 2013 Macbook Pro. While I did get some warnings during the build process, nothing failed outright. The latest version of the source (as of 2018-07-23 -- 1.0.16) did appear to build successfully and install...I start ScanTailor Advanced from the Terminal and it just works as far as I can tell, though I haven't stress tested every possible feature. I do see errors in Terminal when running--I think these are related to stylesheets of the UI but they haven't crashed the app and I don't actually have a sense of what isn't being executed.

Still, if anyone would like me to add a HOWTO build Advanced for macOS, I could do that--just let me know if this is still needed and I can write up how I got the source compiled. It's also possible one or more of you did this on your own and with better results than me, so I'd also be happy to hear from people who got this working on their own, too.
Would be amazing to have a howto for building ST Advanced on macOS! Also, is there anything that stands in the way of packing the app you compiled into a .dng container and making it available? (Honest question! I don't know much about creating standalone apps on macOS.)
Actually, have just managed to build ST Advanced on macOS 10.13.6 myself. Not that difficult with Macports. Here's how I did it:
  1. Preparation:

    Installed all dependencies and tools (see list at https://github.com/4lex4/scantailor-lib ... pendencies). In my case:

    Code: Select all

    sudo port install boost cmake qt5 tiff libpng jpeg zlib
    Then cloned the ST Advanced github repository:

    Code: Select all

    git clone https://github.com/4lex4/scantailor-advanced.git
  2. Followed Linux build instructions (see https://github.com/4lex4/scantailor-libs-build#linux):

    Code: Select all

    cd ".../scantailor-advanced-1.x.x"
    mkdir build && cd build
    cmake -G "Unix Makefiles" --build ..
    make -j `nproc`
    
    Then:

    Code: Select all

    sudo make install
Done!

Executable runs fine from Terminal. Found it impossible to package my build into an .app bundle, though, and would greatly appreciate some help here.

Re: Scan Tailor Advanced

Posted: 02 Mar 2019, 13:56
by alan
A small update. The nproc command does not exist on macOS, so the -j option can be omitted.
The updated commands:

Code: Select all

brew install boost cmake qt5 libtiff libpng jpeg
git clone https://github.com/4lex4/scantailor-advanced.git
export CMAKE_PREFIX_PATH="/usr/local/opt/qt/lib/cmake"
export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
cd scantailor-advanced
mkdir build && cd build
cmake -G "Unix Makefiles" --build ..
make
make install

alan wrote: 27 Feb 2019, 22:27 I was able to build ScanTailor Advanced on macOS 10.14.3 (Mojave) using Homebrew instead of Macports (as I already use Homebrew).

Code: Select all

brew install boost cmake qt5 libtiff libpng jpeg
git clone https://github.com/4lex4/scantailor-advanced.git
export CMAKE_PREFIX_PATH="/usr/local/opt/qt/lib/cmake"
export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
cd scantailor-advanced
mkdir build && cd build
cmake -G "Unix Makefiles" --build ..
make -j `nproc`
make install
zlib is already available on macOS

The only obvious issue so far is that icons (such as previous/next page) are not properly displayed, but the tooltips work.

i8dcI32QWRfiwVj wrote: 18 Aug 2018, 08:31
i8dcI32QWRfiwVj wrote: 17 Aug 2018, 08:15

Would be amazing to have a howto for building ST Advanced on macOS! Also, is there anything that stands in the way of packing the app you compiled into a .dng container and making it available? (Honest question! I don't know much about creating standalone apps on macOS.)
Actually, have just managed to build ST Advanced on macOS 10.13.6 myself. Not that difficult with Macports. Here's how I did it:
  1. Preparation:

    Installed all dependencies and tools (see list at https://github.com/4lex4/scantailor-lib ... pendencies). In my case:

    Code: Select all

    sudo port install boost cmake qt5 tiff libpng jpeg zlib
    Then cloned the ST Advanced github repository:

    Code: Select all

    git clone https://github.com/4lex4/scantailor-advanced.git
  2. Followed Linux build instructions (see https://github.com/4lex4/scantailor-libs-build#linux):

    Code: Select all

    cd ".../scantailor-advanced-1.x.x"
    mkdir build && cd build
    cmake -G "Unix Makefiles" --build ..
    make -j `nproc`
    
    Then:

    Code: Select all

    sudo make install
Done!

Executable runs fine from Terminal. Found it impossible to package my build into an .app bundle, though, and would greatly appreciate some help here.

Re: Scan Tailor Advanced

Posted: 17 Mar 2019, 13:45
by Konos93a
here is my issue even if i can correct it with fast stone photoresizer a program i think that this should get added . personally every even page is 5% smaller than odd page

. use fast stone photoresizer before use scantailor advanced so pages have almost the same size contect

Re: Scan Tailor Advanced

Posted: 21 Jul 2019, 15:17
by 0kelvin
What happened to that version of scantailor that started multiple processes in task manager, one per thread to process multiple pages at once? I'm using the newest one and it processes one page at a time.

Re: Scan Tailor Advanced

Posted: 18 Aug 2019, 08:25
by xerum
It appears that 4lex4 has made update to STA but not sure what new features or functions have been added.

See here: https://github.com/4lex4/scantailor-advanced/releases

I always appreciate the work/effort Joseph and 4lex4 had done to keep improving Scan Tailor.

Scan Tailor Enhanced has a very powerful feature in MARGINS called "Match Size by Scaling". I can only pray 4lex4 will this feature add to Scan Tailor Advanced.

Cheers

Re: Scan Tailor Advanced

Posted: 18 Aug 2019, 13:20
by dtic
xerum wrote: 18 Aug 2019, 08:25 It appears that 4lex4 has made update to STA but not sure what new features or functions have been added.
Might be possible to find out more by comparing changes between develop/master versions:
https://github.com/4lex4/scantailor-adv ... re/develop

Re: Scan Tailor Advanced

Posted: 01 Sep 2019, 21:54
by daniel_reetz
Really impressed with the work by 4lex4... sent a donation his way as a thank-you.

Re: Scan Tailor Advanced

Posted: 10 Sep 2019, 15:39
by i8dcI32QWRfiwVj
I'm running the '2019.8.16 Early Access' build. Does it happen to anyone else on this build that, in 'Output', text on a page gets thicker, up to the point of becoming hardly legible, once the dewarping feature is switched on? Happens to me with both automatic and marginal dewarping.

EDIT: Back on 1.0.16 all works fine.