Re: Dekeystoning with a checkerboard
Posted: 06 Feb 2011, 23:19
Oops, I meant to link to this. Might help.
A set of discussions about DIY Book Scanners
https://diybookscanner.org/forum/
I agree, Barcodes were only really incorporated a week or so ago, and I'm slowly getting the documentation to where it needs to be.I don't see how you use your program. There doesn't seem any great set of instructions for barcodes on the wiki,website, or these forums.
Short answer: Use Barcodes. Long answer: BarcodePerspective is an internal command that Barocdes uses. It differs from a normal perspective correction in that it assumes that the barcodes are square, while the normal perspective only assumes that the selected area is a rectangle.1) What is the difference bewteen Barcodes and BarcodePerspective
For every barcode except the perspective barcode you can put them anywhere that will be picked up by the camera. The perspective barcode should be placed so that it lines up with the text.2) I can print out the barcodes, but where do I put them? At the beginning of the book and then take a picture of those pages? Can it differentiate between left/right barcode pages?
No.. they are sized so they can be easily scanned, but small enough so they will always fit even if scanning a small book. The software will find it regardless how big or small it is (within reasons).3) Should the barcodes span the entire page? When I print them out they only occupy about a 4x4 box at the top-left of a 8.5x11 in paper
I think it makes sense to do it ahead of time using the -barcodes or -split flags, but in the version I released 1/2 hour ago it will let you scan them from the gui as well. The challenge is that if you are running it interactively, you really need all the barcodes scanned before you can do the cropping and other tweaking. However, it does take a while to process all the barcodes, so if you run them from the gui you have to start BSW, read the barcodes, and come back 10 minutes later.4) Do you have to use the -barcodes flag from the command line or can you just input it in the script area and then hit "submit"
I've got the wizard to get started, and if you right click in the viewer it does the most common stuff without much typing at all. One problem with doing a gui is that it would limit what could be done. There's a general order that things are done in, but I find that I sometimes modify it depending on what I'm trying to accomplish. If I use dialogs I looks that flexibility. You can also double-click rows in the command helper and it will insert the command in the configuration.5) Any chance to use a gui dialog rather than having the user type in commands?
If you are running interactively, ensure that either the "to cursor" checkbox is unchecked, or that the text cursor in the configuration is at the end of the configuration you are trying to add.I haven't got it to run yet. Either I get "array out of bound errors" and I am looking at the command syntax or the output is identical to the input
If the perspective changes during the book you can adjust it, either by using a perspective barcode every hundered or so pages, or by doing it manually, using the Pages: command followed by the Perspective command., though it does seem to do a decent job with fixing the presepective. The only problem I see is that the book will shift slightly during scanning so applying a crop to all pages will likely clip some part of the page towards the end of the book.
it would ne nice i the 4 qr-codes would have a 5th code in the middel or somewhere else where the dpi of the qr-code-card are encoded, this would allow to print a variation of the cards and to use maximal possible zoomlevelsteve1066d wrote:Though it isn't a problem if the codes overhang the book a bit, as long as the codes are on something rigid, as long as all four codes are in view of the camera.
Code: Select all
LoadImages = Lcamera
SetDestination = tiff
Barcodes =
ScaleToDPI = 300