Daniel Reetz, the founder of the DIY Book Scanner community, has recently started making videos of prototyping and shop tips. If you are tinkering with a book scanner (or any other project) in your home shop, these tips will come in handy. https://www.youtube.com/channel/UCn0gq8 ... g_8K1nfInQ

Minimum Camera for Book Scanning

Everything camera related. Includes triggers, batteries, power supplies, flatbeds and sheet-feeding scanners, too.
Flowsen
Posts: 1
Joined: 04 Mar 2014, 00:53

Re: Minimum Camera for Book Scanning

Post by Flowsen » 02 Oct 2010, 19:27

translucent1 wrote: I was able to capture and download images with gphoto2 while the camera was running CHDK, so I'm pretty sure it's possible to get the combination working.
Are you sure? As already mentioned before, CHDK only acts in play or record mode of the cam. As soon as you connect using gphoto2 the camera turns to PTP mode. I agree, that your camera will still work with gphoto2 but you wont be able to take advantage of the CHDK functions. I tried it by placing a autorun script in CHDK that sets zoom and focus. As long as i turn on the camera in record mode, the script runs and sets zoom and focus settings. If i plug it into USB and running gphoto2, the script and the settings will be ignored.
By the way I am using a Powershot IS3, if you have success running gphoto2 and CHDK to interact with each other let me know.

As i have seen there are some "custom" CHDK builds with PTP support, this PTP supports enables the possiblity to send CHDK commands, scripts etc. Unfortunately, this only works for cams that do not already have PTP support included in their own firmware. Things are rarely documented so if I told something wrong or somebody has more information please let me know.

pfarber
Posts: 19
Joined: 14 Feb 2010, 07:42

Re: Minimum Camera for Book Scanning

Post by pfarber » 15 Oct 2010, 17:09

I am in the precess of getting CHDK + PTP running on my SD780. With the PTP extension to CHDK you should be able to:

Snap a picture
Download it via USB via cmd line to process

From my readings on PTP you *might* be able to trigger the camera, download the image and even get a remote viewfinder image.

PTP is in *most* Canon camera since 2002, but feature support is different in each camera.

One thing the CHDK guy had learned is that when you plug in a USB cable, the firmware locks out certain buttons so you cannot use them (like trigger a pic, set the focus, etc). By adding the proper script to run via the cmd line you can unlock those buttons and take pics, download etc all over USB.

I was quite surprised to read all the features there were unlocking.

I did not find a SD780IS firmware, so it may be something the needs done... and the forum is still quite active talking about PTP development.

pfarber
Posts: 19
Joined: 14 Feb 2010, 07:42

Re: Minimum Camera for Book Scanning

Post by pfarber » 15 Oct 2010, 17:38

It appears the SD780 work great under CHDK + PTP

"I will say this about PTP it is great for debugging. Thx for doing the initial implementation. I added it to the SD780 and love it."

Trying to e-mail the poster for specifics.. most of the dev thread is just snippets of debugging.

Godisgr8t!
Posts: 10
Joined: 04 Mar 2014, 00:53

Re: Minimum Camera for Book Scanning

Post by Godisgr8t! » 27 Nov 2010, 16:07

Dan,

At the beginning of this thread you said this in a post:
"I still think the Powershot A590 IS is the best camera for the job in terms of price and performance."

My questions are: 1)Is this still the best camera for the job in your opinion? and 2)I didn't see the A590 in the list of cameras supporting SDM, do you know if it supports it?

Thanks!

Rannoch
Posts: 8
Joined: 04 Mar 2014, 00:53

Re: Minimum Camera for Book Scanning

Post by Rannoch » 16 Dec 2010, 21:57

Canon has 20% off of their refurbished stock.
The A480 is cheap and supports chdk. It is used by some folks on this forum.

http://slickdeals.net/forums/showthread ... &t=2486765

User avatar
reggilbert
Posts: 49
Joined: 28 Sep 2010, 19:57
Number of books owned: 3000
Location: Buffalo, New York

Re: Minimum Camera for Book Scanning

Post by reggilbert » 16 Dec 2010, 22:59

Godisgr8t! wrote:Dan,

At the beginning of this thread you said this in a post:
"I still think the Powershot A590 IS is the best camera for the job in terms of price and performance."

My questions are: . . . 2)I didn't see the A590 in the list of cameras supporting SDM, do you know if it supports it?
This may not be relevant if the A590 IS is different from the A590 in general, but otherwise . . .

According to this download list SDM supports the A590, in two flavors that seem to correspond to the two available versions of CHDK for A590 firmware listed here.

The lovely new glossary that is now a topic on the Hardware forum quickly provided me the SDM site link, by use of the "search this topic" function located at the top left of the topic page.

Reg Gilbert

TomHorsley
Posts: 96
Joined: 30 Jan 2011, 10:39

Re: Minimum Camera for Book Scanning

Post by TomHorsley » 03 Feb 2011, 07:58

So, when the available supply of CHDK compatible cameras completely dries up, I wonder if more drastic measures could open up lots more cameras (literally). There are apparently DIY CCD camera hackers out there, see:

http://www.amazon.com/Ccd-Camera-Cookbo ... _rhf_p_t_1

and

http://www.amazon.com/CCD-Astronomy-Con ... pd_sim_b_1

I wonder if an arduino would be powerful enough to replace the brains of a camera? Just say to heck with the feeble capabilities the camera maker provides, rip the CPU out of the camera and drive the CCD with your own computer? (Not that I'm likely to attempt it anytime soon).

Another (much more expensive) alternative can be found in industrial control/machine imaging systems with things like these:

http://www.edmundoptics.com/onlinecatal ... uctID=2947

Or if you have $13,000 to blow, you could go for something like this:

http://www.alliedvisiontec.com/us/produ ... e4900.html

:-)

User avatar
daniel_reetz
Posts: 2780
Joined: 03 Jun 2009, 13:56
E-book readers owned: Used to have a PRS-500
Number of books owned: 600
Country: United States
Contact:

Re: Minimum Camera for Book Scanning

Post by daniel_reetz » 03 Feb 2011, 11:27

I am very interested in camera-building and have an "open source camera" in the form of the Nokia N900. However, there is another path - a very simple one - where we use a servo to press the shutter button, or where we use, say, the brake handle from a bicycle to press the shutters simultaneously. That will work with any camera ever, it's just a bit of mechanical work.

TomHorsley
Posts: 96
Joined: 30 Jan 2011, 10:39

Re: Minimum Camera for Book Scanning

Post by TomHorsley » 07 Feb 2011, 16:55

That make me wonder if the external buttons all really just push microswitches, and if you could open up the camera and wire in some extra wires across the switches and "press the button" with a computer driven relay. I did something much like that (on a much less delicate scale) in my silly cell phone ring detector I used with my old phone:

http://home.comcast.net/~tomhorsley/har ... arkII.html

Heck, wire in enough of the switches and you could control every camera function with relays :-).

User avatar
daniel_reetz
Posts: 2780
Joined: 03 Jun 2009, 13:56
E-book readers owned: Used to have a PRS-500
Number of books owned: 600
Country: United States
Contact:

Re: Minimum Camera for Book Scanning

Post by daniel_reetz » 07 Feb 2011, 18:56

I've done that with the A530, it works just fine. See the images in this old thread where Xylon and I dissect our Canon Powershots and wire into them: http://www.diybookscanner.org/forum/vie ... 3&t=7#p386

Post Reply