Lazarus
Home
Forum
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Mac OS X
»
Flatbed scanner support on a Mac
Downloads
Daily Snapshots
FAQ
Wiki
Bugtracker
IRC channel
Developer Blog
Follow us on Twitter
Mailing List
Free pascal
Other languages
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Lazarus, the complete guide
Search
Advanced search
« previous
next »
Print
Pages: [
1
]
Author
Topic: Flatbed scanner support on a Mac (Read 850 times)
WildMan
New member
Posts: 11
Flatbed scanner support on a Mac
«
on:
June 20, 2012, 12:44:32 pm »
I’m looking for any pointers I can get about integrating flatbed scanner support in a Mac application. Nothing fancy really, I just want to be able to be able to grab an image from a flatbed scanner and load it into a bitmap. I tried PascalSane but didn’t have any luck with that. When I added it to my USES clause I couldn’t compile; it generated a slew of stub errors.
Logged
BigChimp
Hero Member
Posts: 3220
Re: Flatbed scanner support on a Mac
«
Reply #1 on:
June 21, 2012, 08:00:05 am »
Hi Wildman,
I'm interested in scanner support in FPC/Lazarus, too. Had a quick look at PascalSane earlier... which might be written for an older version of sane. If you ever get further with it, could you share your updates?
Though it's shelved right now, I'd like to write an application that connects to a remote sane server (probably using the sane network protocol), scan an image, and run that image through (perhaps post processing such as unpaper and) OCR (e.g. Tesseract), then save it as a searchable PDF (i.e. the image with the OCR text overlaid).
Finally, it should store the file name and metadata in a (Firebird) database, preferably the OCR text as well. It should allow querying the db and showing the resulting PDF/text/image.
Voila, poor man's document management system
I know there are some programs for the latter parts (e.g. OCRFeeder) on Linux which I might use and I haven't written actual code for this, but I'm still interested.
Logged
Want quicker answers to your questions? Read
http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F
Open source including twitter/Oauth library:
https://bitbucket.org/reiniero
Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Mac OS X
»
Flatbed scanner support on a Mac
Recent
[Solved] What did I do to...
by
Avishai
[
Today
at 06:20:45 pm]
Lazarus / RaspberyPi rpi_...
by
sfischer
[
Today
at 05:48:17 pm]
Why "WriteComponent" does...
by
howardpc
[
Today
at 05:10:16 pm]
New component tab with gr...
by
howardpc
[
Today
at 04:31:11 pm]
How does one specify a fi...
by
stab
[
Today
at 04:07:31 pm]
Building 1.1
by
Giu
[
Today
at 04:01:22 pm]
Windows XP Tmemo printer
by
rick2691
[
Today
at 03:42:54 pm]
True Democracy: Game for ...
by
martinrame
[
Today
at 01:34:40 pm]
TStringGrid: How to move ...
by
Blaazen
[
Today
at 01:19:58 pm]
Can LCL classes use Qt or...
by
Leledumbo
[
Today
at 08:32:15 am]