First build with automatic dewarping

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

Re: First build with automatic dewarping

Postby matt » 04 Jan 2011, 23:06

I understand that my Formulas book (which has lots of charts and non-block text) might be an edge case that's not worth supporting. But it does seem to be presenting some challenges for ST. Here are a few examples of the wonky grids that beta6 is creating with this particular book.

Thanks again for all your efforts with this!!

Matt
Attachments
originals.zip
(6.75 MiB) Downloaded 47 times
grab 2011-01-04 at 7.05.04 PM.PNG
grab 2011-01-04 at 7.05.04 PM.PNG (510.23 KiB) Viewed 616 times
grab 2011-01-04 at 7.01.04 PM.PNG
grab 2011-01-04 at 7.01.04 PM.PNG (448.75 KiB) Viewed 616 times
grab 2011-01-04 at 6.55.25 PM.PNG
grab 2011-01-04 at 6.55.25 PM.PNG (542.24 KiB) Viewed 616 times
Last edited by matt on 05 Jan 2011, 22:07, edited 1 time in total.
matt
 
Posts: 27
Joined: 17 Mar 2010, 22:34

Re: First build with automatic dewarping

Postby Tulon » 05 Jan 2011, 14:43

matt wrote:Here are a few examples of the wonky grids that beta6 is creating with this particular book.

I need the source files. Can't do anything without them.
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 » 05 Jan 2011, 15:47

The autodewarping is really impressive. This feels like a "platen killer" in the making. When testing I got wobbling on some output pages. Not as much as in Tulon's example above (in the beta6 post) but enough. In one such case I fed the outputted tif back into Scan Tailor for a second round (including dewarping) and that removed the wobble and straightened things out!
dtic
 
Posts: 205
Joined: 06 Mar 2010, 18:03

Re: First build with automatic dewarping

Postby matt » 05 Jan 2011, 22:10

Tulon wrote:
matt wrote:Here are a few examples of the wonky grids that beta6 is creating with this particular book.

I need the source files. Can't do anything without them.

I've updated my previous post with copies of the source images. Thanks for looking into it!
matt
 
Posts: 27
Joined: 17 Mar 2010, 22:34

Re: First build with automatic dewarping

Postby Tulon » 08 Jan 2011, 18:15

Matt, I think you are getting such poor results because you aren't fixing incorrectly detected content boxes.

Anyway, here comes beta7: http://depositfiles.com/files/f3w0nsol3
This one finds more text lines and chooses a pair of representative lines better.
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 matt » 09 Jan 2011, 04:13

Tulon wrote:
Anyway, here comes beta7: http://depositfiles.com/files/f3w0nsol3
This one finds more text lines and chooses a pair of representative lines better.


Cool, I'm looking forward to trying it out. Are those changes available via git? (As I'm on a Mac I've been following the developments there). The last few changesets I see there are
Code: Select all
~/Applications/scantailor$ git --no-pager log -5 --pretty=oneline --abbrev=1

92d094246ff41ef4ab67ff7762bc34e70c652184 Updated line numbers of German translation's location tags
91e271606c6c02257d43ed7cf165c5999b91a66f added CMakeFiles to .gitignore
cea5e25357305c0c8c3f53d21b01814b9b2c23ed added translations for the OutputChangeDewarpingDialog
5d63a3a8399282708ecb35c06ffa482a46afaacf Set version to 1.0.0beta6

matt
 
Posts: 27
Joined: 17 Mar 2010, 22:34

Re: First build with automatic dewarping

Postby Tulon » 09 Jan 2011, 04:22

I forgot to push my commits - just did it now.
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 Tulon » 09 Jan 2011, 05:35

I've got a crash report from beta7 which I can't reproduce. I'll need the source image and probably the project file.
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 jimboh » 09 Jan 2011, 16:41

I just started testing dewarping today, with beta7. The auto function did a good job to the extent it applied itself to the page, but it missed a big chunk of the page.

The source:

Keres - Road to the Top 64.tiff


The auto:

dewarping.png
dewarping.png (392.99 KiB) Viewed 430 times


The output:

Keres - Road to the Top 64.tif


See also the attached project file.
User avatar
jimboh
 
Posts: 74
Joined: 06 Jan 2011, 00:55

Re: First build with automatic dewarping

Postby jimboh » 09 Jan 2011, 16:41

"The extension scantailor is not allowed," so here is a zip file containing the project and other files.
feedback.zip
(736.97 KiB) Downloaded 50 times


I went back and switched to Mixed mode. As a result, the warped chess diagram was auto-selected perfectly as a Picture Zone. Next, I looked at the Dewarping tab, which was unchanged. Following is an updated zip file containing the updated (i.e. Mixed) project and other files.
temp.zip
(1 MiB) Downloaded 39 times
User avatar
jimboh
 
Posts: 74
Joined: 06 Jan 2011, 00:55

PreviousNext

Return to Scan Tailor

Who is online

Users browsing this forum: No registered users and 1 guest