Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Simple tools for using USB-powered scanners with the Raspberry Pi

License

NotificationsYou must be signed in to change notification settings

ScriptAutomate/pi-scanography

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

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.

More In-Depth Tutorial for This Project

A more in-depth tutorial of what I did to go mobile with a Raspberry Pi 3, for scanography,can be found here.

Basic Directions

Want to just get up and running? Here we go!

Install SANE

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 sane

Basic Scanography Run

Clone the repo and make the script executable:

git clone https://github.com/ScriptAutomate/pi-scanography.gitchmod +x pi-scanography/scanography.sh

Execute the script:

~/pi-scanography/scanography.sh

This will do the following:

  • Create ascans directory in thepi-scanography directory, if there isn't one already. This is where scans are output.
  • Create a configuration file in thescans directory 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 thescans directory, 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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2026 Movatter.jp