Have you ever got worried when you've not been able to find a bill or post-it note that you really needed? Well with this Raspberry Pi Document Scanner now you won't have to! All your notes, receipts and documents will now be a click away safely stored in your Dropbox folder.

In this Instructable you'll learn how to make a Raspberry Pi Document Scanner that automatically uploads a copy of your document in a Dropbox folder. The files will be stored with the day and date on when the document was scanned. Have a look at the video walk-through/demo of the project linked above.

I made this project by using this Pyimagesearch post and Dropbox-Uploader script.

Now lets get started !

Step 1: Parts List and Software Requirement

The following parts will be needed for this project :

  • Raspberry Pi Model B (or upwards)
  • Raspberry Pi Camera Module.
  • Memory Card with Raspbian Jessie.
  • WiFi Adapter or Ethernet Connection.
  • Document or Receipt to be Scanned.
  • Some Acrylic sheet to make a stand for the camera module. (optional)

If you plan on working on the Raspberry Pi itself and not through SSH you would need the following materials:

  • Monitor or TV screen(with HDMI or VGA input).
  • USB keyboard and mouse.

Apart from this you would need the following software packages installed on your Raspberry Pi as a prerequisite:

  • Raspbian Jessie (download link)
  • OpenCV 3 installed on the Raspberry Pi (Guide to Download and Setup below.)
  • PuTTY for SSH control of the Raspberry Pi (optional) (download link)
  • WinSCP for remotely transferring files to the Raspberry Pi (optional) (download link)

Downloading and building OpenCV 3 on your Raspberry Pi is a relatively easy but lengthy process and will most likely take up a day (especially for older models). I used the tutorial from Pyimagesearch in order to build OpenCV 3 on the Raspberry Pi. The tutorial has an in depth Video guide as well as a detailed step by step guide which is very easy to follow. Here are the links for both of them :

The version of OpenCV 3 used at the time of writing this Instructable is OpenCV 3.1.0.

<p>It's very nice!! I made a similar JPEG camera. I'm going to add openCV function.</p><p><a href="https://www.instructables.com/id/Smart-JPEG-Camera-for-Home-Security/" rel="nofollow">https://www.instructables.com/id/Smart-JPEG-Camera-...</a></p>
can we modify the code to load the scans to raspberry pi itself? if yes, how?<br>
<p>Hey fishinthetray,</p><p>The scanned image is also saved on the <br>Raspberry Pi itself using this code. I have shown this in the video <br>(3:11 onward). The file will be saved with the day,date and minute the <br>scan was taken as the filename. Something like this : </p><p>sc_Wed_08_06_2016_10.png</p>
<p>Hey great instructable.! I have to scan hundreds of pages every day for my job. I have to scan and then upload each scan if this could do it all my job would be so much faster!!!</p>
<p>Great Instructable! Can I run the program on boot?</p>

About This Instructable



Bio: I break things so I can figure out how they're made when I put it back together.
More by r5sb:Raspberry Pi Document Scanner With Automatic Upload to Dropbox. Arduino Hexapod (With A Personality) DIY Line Follower Sensor Array 
Add instructable to: