Mastering Interpreters and Compilers - book

want to contribute an update to the archive? post it here!
User avatar
sydney
Posts: 2096
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Mastering Interpreters and Compilers - book

Postby sydney » Sat Feb 03, 2018 10:47 am

Lardo Boffin bought Mastering Interpreters and Compilers by Bruce Smith but doesn't have time to scan it so posted it to me and I'm going to try to get it scanned. Unfortunately, even though I've owned a number of scanners over the years, I don't think I've ever used one!

I've been re-reading this thread but any advice would be great!

User avatar
sydney
Posts: 2096
Joined: Wed May 18, 2005 9:09 am
Location: Newcastle upon Tyne
Contact:

Re: Mastering Interpreters and Compilers - book

Postby sydney » Sat Feb 03, 2018 10:59 am

I'm using 'Not another PDF Scanner 2' software.
Here are the options screens:
options1.png


advancedoptions.png


Here is a test scan:
png:
test1.png


tiff:
test1.tiff
test1.tiff (104.78 KiB) Viewed 353 times


Is the scan any good? What are the best settings? Should I use different software?

User avatar
pau1ie
Posts: 492
Joined: Thu May 10, 2012 9:48 pm
Location: Bedford
Contact:

Re: Mastering Interpreters and Compilers - book

Postby pau1ie » Sat Feb 03, 2018 8:01 pm

Thanks to Lardo and you for doing this work.
Some characters are missing from the right side of the left page, maybe darkening it a little would help? But I would have thought that it would be possible to get the text out of the document as it is.

Edit - Should note that I don't really know anything about this!
I'm working on http://bbcmicro.co.uk

User avatar
Lardo Boffin
Posts: 966
Joined: Thu Aug 06, 2015 6:47 am
Contact:

Re: Mastering Interpreters and Compilers - book

Postby Lardo Boffin » Sat Feb 03, 2018 9:02 pm

pau1ie wrote:Thanks to Lardo and you for doing this work.


All I did was walk to the post office! 8) All credit to Sydney.
BBC model B 32k issue 4, 16k sideways RAM, Watford 12 ROM board, Retroclinic Datacentre + HDD, Viglen twin 40/80 5.25" discs, acorn cassette, Acorn 6502 coproc
BBC model B 32k issue 7, turboMMC, Opus Challenger 3 512k, Pi 3 coproc
BBC Master

User avatar
tricky
Posts: 2370
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: Mastering Interpreters and Compilers - book

Postby tricky » Sat Feb 03, 2018 9:04 pm

Thanks to both of you.
I've scanned and OCRed a couple about 10 years ago and that software would definitely have struggled with that, but hopefully things have improved in the meantime.
If it doesn't take too much longer, maybe try 600dpi and one notch less on the brightness.

User avatar
b_b_c_m_i_c_r_o_2
Posts: 236
Joined: Sun Jun 25, 2006 10:15 pm
Contact:

Re: Mastering Interpreters and Compilers - book

Postby b_b_c_m_i_c_r_o_2 » Sat May 05, 2018 6:00 pm

Did you complete your scan of the whole book successfully?
If a pdf exists then I can get rid of my copy of the book.

User avatar
Elminster
Posts: 1775
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: Mastering Interpreters and Compilers - book

Postby Elminster » Sat May 05, 2018 8:06 pm

I have that book, will take a while to scan and process as quite large.

If you are going to ocr it I would max out the dpi and then reduce file size, I.e. quality, post ocr.

User avatar
lurkio
Posts: 1515
Joined: Tue Apr 09, 2013 11:30 pm
Location: Doomawangara
Contact:

Re: Mastering Interpreters and Compilers - book

Postby lurkio » Sat May 05, 2018 8:35 pm

What we did for another book might help: if you're scanning monochrome (black and white) text, and if you DON'T want high-resolution archive-quality scans, then use your scanner's "Text" setting (image bit-depth = 1). And 300 dpi. If there's too much "noise" in the scanned image, adjust the scanner's "Threshold" setting.

But if you're scanning in colour... you're on your own!

:idea:

User avatar
Elminster
Posts: 1775
Joined: Wed Jun 20, 2012 8:09 am
Location: Essex, UK
Contact:

Re: Mastering Interpreters and Compilers - book

Postby Elminster » Sat May 05, 2018 9:00 pm

I think that was the book/thread Sydney was referring to in the very first post :)

User avatar
lurkio
Posts: 1515
Joined: Tue Apr 09, 2013 11:30 pm
Location: Doomawangara
Contact:

Re: Mastering Interpreters and Compilers - book

Postby lurkio » Sat May 05, 2018 9:09 pm

Elminster wrote:I think that was the book/thread Sydney was referring to in the very first post :)

#-o #-o #-o