Flatbed scanner support on a Mac lazarus / 33-macOS - Mac OS X ---------------------------------------------------------------------- WildMan · 2012-06-20 10:44 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. ---------------------------------------------------------------------- BigChimp · 2012-06-21 06:00 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.