- Notifications
You must be signed in to change notification settings - Fork0
Simple tools for using USB-powered scanners with the Raspberry Pi
License
ScriptAutomate/pi-scanography
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Simple script(s) for using USB-powered scanners with the Raspberry Pi. This was created after readingthis cool article about someone using a pocketCHIP withscanimage. The article has a broken-link to the GitHub repo, but you can findtheir code/tutorial here.
A more in-depth tutorial of what I did to go mobile with a Raspberry Pi 3, for scanography,can be found here.
Want to just get up and running? Here we go!
When using Raspbian Stretch as an OS,scanimage is not included by default. Let's get it.
# Update and Install SANE# SANE: Scanner Access Now Easysudo apt install saneClone the repo and make the script executable:
git clone https://github.com/ScriptAutomate/pi-scanography.gitchmod +x pi-scanography/scanography.shExecute the script:
~/pi-scanography/scanography.shThis will do the following:
- Create a
scansdirectory in thepi-scanographydirectory, if there isn't one already. This is where scans are output. - Create a configuration file in the
scansdirectory for a connected scanner, if there isn't already a configuration file present. This will be named after the type of scanner, as the device name (ex.genesys:libusb:001:005) can change each time it is connected to the Pi, but the device type does not (ex.Canon LiDE 110 flatbed scanner). An example configuration file in this case would be~/pi-scanography/scans/.Canon-LiDE-110-flatbed-scanner - Run a scan with the output file placed in the
scansdirectory, with a naming convention ofscan$NUMBER.jpeg-- ex.scan4.jpeg
From the terminal, one can view a generated image withgpicview scans/scan4.jpeg
About
Simple tools for using USB-powered scanners with the Raspberry Pi
Resources
License
Uh oh!
There was an error while loading.Please reload this page.