As you can see, this is mostly a "New Standard" scanner build. The #1 design objective was that I needed it to break down easily and not take up too much space. I know my time at the Dining Room table is limited

So along the way I came up with five changes:
1. If in doubt, I used a bolt instead of a screw. This includes the connection from the column sliders to the platen.
2. Inspired by the folding air platen, I made the platen hinged in the middle. The cross bars at the top are held in place by 4 screws with wing nuts. The screws are perpendicular to the platen support. When tightened, it forms a good solid triangle. When taken out, the platen folds up nicely. 3. The cradle was made to fold up. So both the left and the right side are adjustable. Then on the connection between the 45 degree supports and the cradle top, the supports are attached with hinges from the bottom instead of screwed in from the top. 4. I added a counter weight, similar to others. I used simple 2 inch PVC pipe. I wasn't sure exactly how much weight I needed, so I capped the bottom of the pipe, but I added a screw "access port" on the top. I filled the pipe with spare nails and extra BBs I had. The pipe with the weight is guided by a 3 inch pipe attached to the column. I extended the board connecting the platen to the rails so that the counter weight could be attached to it with a cord. 5. Inspired by a comment on the forum about using black paper behind pages to help with page splitting in Scan Taylor, I came up with what I'm calling a "Platen Card". It is a piece of black poster board (88 cents at the local store) cut to fit on top of the two platen surfaces. It has the following uses:
- Use the blank back side to slip between the book cover and the first/last page of the book. This cuts down on getting images of the book cover, which can case problems later in post processing. I've also found it works well on very thick books if you place it within a hundred pages or so of the pages being scanned (you cut out a lot of the feathered pages that get caught in the picture.)
- On the other side of the card, I pasted a picture of a ruler (which I verified after I printed it out.) I found mine at http://vendian.org/mncharity/dir3/paper_rulers/ but there are others out on the web. So now that I have a ruler always handy, I take a DPI calibration shot as the first set of pictures of a scan.
- Since the cards are cut to the size of the top of the platen, when the scanner is not in use, I just lay them on top. They act as a cover that prevents scratches to the top of the platen as well as dust from accumulating.
Also, on lessons learned (most of them you will say "duh", but I will state them anyway):
- When you buy cameras from ebay, take the time to do a full reset on them so you know your starting point.
- Take the time to figure out how to adjust for indoor lighting.
- Make sure both cameras are at the same zoom level
- The bulbs get real hot
- Asking where you want the project and creating the directory if it does not exist
- Asking for a starting page number (in case you break up a big scanning project)
- Asks if you want to convert to greyscale
- Asks for DPI for left and right if you want to add to the images.
Code: Select all
@ECHO OFF
ECHO.
:PROJECT_QUERY
set PROJECT=Book
set /P PROJECT=Enter Project/Book directory name [default=%PROJECT%]:
:START_COUNT_QUERY
set START_COUNT=0
set /P START_COUNT=Starting page number for combined pages [default=0]:
set /A TestVal=%START_COUNT%*1
if NOT "%START_COUNT%"=="%TestVal%" (
goto :START_COUNT_QUERY
)
:COLOR_QUERY
set COLOR_INPUT=g
set /P COLOR_INPUT=Color (c or C) or Greyscale (g or G) [default=%COLOR_INPUT%]:
if /I "%COLOR_INPUT%"=="c" (
set COLOR=
) else (
if /I "%COLOR_INPUT%"=="g" (
set COLOR=-colorspace Gray
) else (
goto :COLOR_QUERY
)
)
:DPI_ODD_QUERY
set DPI_INPUT=0
set /P DPI_INPUT=Dots per Inch for Odd (Left Camera) pages [default=0 which keeps it the same]:
set /A TestVal=%DPI_INPUT%*1
if /I "%DPI_INPUT%"=="0" (
set DPI_ODD=
) else (
if "%DPI_INPUT%"=="%TestVal%" (
set DPI_ODD=-units PixelsPerInch -density %DPI_INPUT%
rem set DPI_ODD=-units PixelsPerInch -resample %DPI_INPUT%x%DPI_INPUT%
) else (
goto :DPI_ODD_QUERY
)
)
:DPI_EVEN_QUERY
set DPI_INPUT=0
set /P DPI_INPUT=Dots per Inch for Even (Right Camera) pages [default=0 which keeps it the same]:
set /A TestVal=%DPI_INPUT%*1
if /I "%DPI_INPUT%"=="0" (
set DPI_EVEN=
) else (
if "%DPI_INPUT%"=="%TestVal%" (
set DPI_EVEN=-units PixelsPerInch -density %DPI_INPUT%
rem set DPI_EVEN=-units PixelsPerInch -resample %DPI_INPUT%x%DPI_INPUT%
) else (
goto :DPI_EVEN_QUERY
)
)
rem echo PROJECT=%PROJECT%
rem echo COLOR=%COLOR%
rem echo DPI_ODD=%DPI_ODD%
rem echo DPI_EVEN=%DPI_EVEN%
rem goto :EOF
Rem Setup the directories
set THIS_DIR=%~dp0
Rem Now Create the Project Directory if it does not exist
echo Making sure the Project/Book directory exists
set NEW_DIR=%THIS_DIR%..\%PROJECT%
IF NOT EXIST "%NEW_DIR%" MD "%NEW_DIR%"
Rem Set the Right and Left directories. Either Left and Right or L and R
set RIGHT=Right
set LEFT=Left
IF NOT EXIST "%THIS_DIR%%LEFT%" set LEFT=L
IF NOT EXIST "%THIS_DIR%%RIGHT%" set RIGHT=R
Rem Process the Right camera / Even pages
echo Processing the Right camera / Even pages ...
set count=%START_COUNT%
FOR %%A IN ("%THIS_DIR%%RIGHT%\*.jpg") DO CALL :NUMBER "%%A" even
Rem Process the Left camera / Odd pages
echo Processing the Left camera / Odd pages ...
set /A count=%START_COUNT%+1
FOR %%A IN ("%THIS_DIR%%LEFT%\*.jpg") DO CALL :NUMBER "%%A" odd
echo Complete
goto :EOF
:NUMBER
set NUM=000%count%
set NUM=%NUM:~-4%
echo Processing page %NUM%
copy %1 "%NEW_DIR%\%NUM%.JPG" >NUL
if "%2"=="odd" (
convert "%NEW_DIR%\%NUM%.JPG" %DPI_EVEN% %COLOR% -rotate 90 "%NEW_DIR%\%NUM%.JPG"
) else (
convert "%NEW_DIR%\%NUM%.JPG" %DPI_ODD% %COLOR% -rotate 270 "%NEW_DIR%\%NUM%.JPG"
)
set /a count+=2
goto :EOF