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 Hamid » 13 Jan 2011, 14:31

As for me, Beta8 seems to be stable: batch processing with automatic dewarping doesn't cause the programme to crash anymore. I would have never thought it was due to the absence of content boxes.Thanks Tulon.
Hamid
 
Posts: 10
Joined: 04 Mar 2014, 00:53

Re: First build with automatic dewarping

Postby emmerick » 13 Jan 2011, 15:17

Tulon wrote:Here comes beta8: http://depositfiles.com/files/96wxqhos6
No changes compared to beta7, except a fixed crash on pages without a content box.


Thanks a lot man you are the best.
emmerick
 

Re: First build with automatic dewarping

Postby dtic » 15 Jan 2011, 10:19

I got a crash with beta8 when autodewarping ~100 pages on a testrun, but missed to submit the error log I'm afraid. Will submit if I can recreate it. A question: the autodewarping takes significantly longer time compared to the other steps. Is that just how it is for this type of processing or do you think it is possible to later get gains in speed once all else (crashing etc) is worked out? I need to know if I should start saving to buy on of the new Sandy Bridge CPUs ;)
dtic
 
Posts: 291
Joined: 06 Mar 2010, 18:03

Re: First build with automatic dewarping

Postby Tulon » 15 Jan 2011, 11:30

dtic wrote:I got a crash with beta8 when autodewarping

I am going to need the page causing the crash.

dtic wrote:A question: the autodewarping takes significantly longer time compared to the other steps. Is that just how it is for this type of processing or do you think it is possible to later get gains in speed once all else (crashing etc) is worked out?

I don't know. I haven't looked into the performance side yet.
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: 551
Joined: 03 Oct 2009, 06:13
Location: London, UK

Re: First build with automatic dewarping

Postby Anonymous1 » 15 Jan 2011, 12:30

@dtic, I profiled the whole program, and the function which takes up the most processing time (by far) is the content-box finding. If I could fluently read C++, I would attempt to see how it could be sped up (I still vote for GPU acceleration :P ). But for now, Python it is.
Anonymous1
 

Re: First build with automatic dewarping

Postby Tulon » 16 Jan 2011, 13:34

May I remind that I still need the source images for reproducing a crash with beta8. I've got 4 crash reports so far, but I can't reproduce this issue without the source images.
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: 551
Joined: 03 Oct 2009, 06:13
Location: London, UK

Re: First build with automatic dewarping

Postby zamacam » 19 Jan 2011, 17:17

I've got a crash using Scantailor 1.0 Beta 8. Here the output available in terminal:

imac:~ david$ ./Desktop/scantailor/_scantailor-1.0-beta8/scantailor
Floating point exception
imac:~ david$


Scantailor was running on Mac OS 10.6.6. I builded it from sources (using up to date macport). It worked nicely on several books since Beta 8 is available. It is the first Scantailor crash I've got.

The crash doesn't happen if I disable automatic dewarping.

I'm attaching the faulty image and the file project.

[edit]: the faulty image is image #290 in the project.
Attachments
scantailor-1-0-beta-8-floating-point-exception.zip
(3 MiB) Downloaded 111 times
zamacam
 
Posts: 20
Joined: 04 Mar 2014, 00:53

Re: First build with automatic dewarping

Postby Tulon » 22 Jan 2011, 06:51

I've reproduced the crash using zamacam's image and project file. That revealed not just one, but two bugs. I'll fix them soon.
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: 551
Joined: 03 Oct 2009, 06:13
Location: London, UK

Re: First build with automatic dewarping

Postby emmerick » 23 Jan 2011, 08:19

Tulon wrote:I've reproduced the crash using zamacam's image and project file. That revealed not just one, but two bugs. I'll fix them soon.


Hopefully the next beta always eager :)))))
emmerick
 

Re: First build with automatic dewarping

Postby jimboh » 29 Jan 2011, 22:25

I see 5 new items committed to the git repository within the last few hours. Are they all dewarping stuff? I don't know the "innards" well enough to know for sure.

One hour later: I downloaded the snapshot as of Sat, 29 Jan 2011 22:30:41 +0000, compiled it with no problems, and obtained the following results with automatic dewarping on a page that was not warped to begin with. The automatic dewarping process warped an unwarped page. I suppose we can just turn dewarping off for pages that are okay, but ... perhaps this shows an area needing improvement. FWIW.

This is the input file:
input.tif
(6.79 MiB) Not downloaded yet


This shows the dewarping "grid" (if that is the correct word):
grid.png
grid.png (794.34 KiB) Viewed 1480 times


This is the output:
output.tif
User avatar
jimboh
 
Posts: 81
Joined: 06 Jan 2011, 00:55

PreviousNext

Return to Scan Tailor

Who is online

Users browsing this forum: No registered users and 2 guests