First build with automatic dewarping

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

First build with automatic dewarping

Postby Tulon » 28 Dec 2010, 11:24

Here is the build: http://depositfiles.com/files/r15711m4c
There are still some rough edges, but automatic dewarping itself seems to work well.

Note: don't use this build - it crashes on pages with little or no text. There is a newer build later in this thread.

without_dewarping.jpg
Without dewarping
without_dewarping.jpg (96.86 KiB) Viewed 7120 times

with_dewarping.jpg
Automatic dewarping
with_dewarping.jpg (89.29 KiB) Viewed 7120 times


P.S: Up to date source code is in Git.
Last edited by Tulon on 30 Dec 2010, 09:50, edited 1 time in total.
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: First build with automatic dewarping

Postby Shaknum » 28 Dec 2010, 12:40

Tulon, this is amazing. The quality of this feature is unsurpassed, I don't know how you do it. I've been trying this out on some scans I've been saving for a while, expectantly awaiting this mile stone, and I've had a lot of success with them. You will probably be getting a lot of these types of messages in the near future, and I don't feel entitled to any response, however if this is useful to you I thought I'd share one of the tricky images I have, that you are likely to have difficulty with in the future. As you can see in the following picture:
Screen shot 2010-12-28 at 11.30.59 AM.png
Auto Dewarp Difficulty

There is some difficulty when the end of the last line of text is indented, this causes the image to dewarp into a trapeziod. Anyway, thanks for the fantastic work, this thing is really robust. I hope the above image is helpful to you, and not a pain in the butt. Let me know if you want the source image. Thanks again.
Shaknum
 
Posts: 91
Joined: 16 Aug 2010, 13:10

Re: First build with automatic dewarping

Postby Tulon » 28 Dec 2010, 13:02

Shaknum wrote:There is some difficulty when the end of the last line of text is indented, this causes the image to dewarp into a trapeziod.

Normally that's not a problem, provided the vertical boundaries got detected correctly. On the next tab in debugging mode, you would see those blue lines extended up to the vertical boundaries. If the vertical boundaries got detected incorrectly, or if it still somehow produces a trapezoid, I can take a look if you provide me with the source scan.

BTW, multicolumn text is not supported by this algorithm. The reason it works in this particular case is that text lines in your columns are aligned and close together.
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: First build with automatic dewarping

Postby Hamid » 28 Dec 2010, 13:40

Oh my god! That's a nice present for us Tulon. Thank you so much.
Hamid
 
Posts: 10
Joined: 12 Aug 2010, 17:42

Re: First build with automatic dewarping

Postby ibr4him » 29 Dec 2010, 00:50

Re-he-heally awesome! :)

Will just wait for someone to build a Mac version.

Thanks a ton, Tulon.
ibr4him
 
Posts: 102
Joined: 18 Oct 2010, 10:36

Re: First build with automatic dewarping

Postby bnz » 29 Dec 2010, 04:07

Indeed. Very awesome. I too hope that a binary Mac version comes along somehow. I had some success building it on my own, but somehow the jpeg import was broken then.
bnz
 
Posts: 42
Joined: 06 Nov 2010, 04:35

Re: First build with automatic dewarping

Postby knappen » 29 Dec 2010, 22:49

Ah, great!

I thought that you had given up completing this.

Thanks for this and have a happy new year.
knappen
 
Posts: 35
Joined: 29 Jul 2010, 20:21

Re: First build with automatic dewarping

Postby eL_PuSHeR » 30 Dec 2010, 03:31

Thank you very much Tulon.
eL_PuSHeR
 
Posts: 123
Joined: 28 Jun 2010, 15:25

Re: First build with automatic dewarping

Postby Tulon » 30 Dec 2010, 06:43

Another build, fixing a crash on pages with little or no text: http://depositfiles.com/files/yjfu8mz8d
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: First build with automatic dewarping

Postby dtic » 31 Dec 2010, 05:14

:) Great! Thank you Tulon and happy new year.
dtic
 
Posts: 207
Joined: 06 Mar 2010, 18:03

Next

Return to Scan Tailor

Who is online

Users browsing this forum: No registered users and 3 guests