This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

This page is about scanning API and UI for the GNOME desktop. The GnomeScan project was started as a SoC2006 project by ÉtienneBersac and mentored by VincentUntz.

1. Introduction

Scanning is problematic accross almost libre or proprietary desktops. While printing is easy and very common, scanning is harder to use and users often don't want to dive into different unaccessible software. Currently, each hardwares comes with it's own software which try to integrate with as much as possible applications. However, this always break the workflow using intermediate files and additionnal operation for the users.

In free software, we have a important key piece of software : SANE. SANE is very nice in the sense it's highly UI independent ! On top of SANE we have the main scanner software used by Gnome users : XSane. We can also notify OpenOffice scanning feature (very very hard to use) using SANE too. OpenOffice.org talks directly with SANE and creates its own interface, because there is no shared scan UI like we have for printing.

In order to address this problem in Gnome, we will provide a new plateform component exposing a high-level API for applications developper and tools for users.

Our goal is to make scanning as easy as printing for both users and developers.

1.1. History

The first attempt for a Gnome Scan solution was done by †MarkFinlay during 2003. Since Mark death, the project was stopped. We only have mockup screenshots from these days. During 2005, ÉtienneBersac released gokr. A Gtk+ wrapper around gocr. (Well, i develop it because i didn't saw that feature in XSane.) This project is aborted.

Early 2006, ÉtienneBersac with collaboration of MartinSchön began to discuss and design a library for scanning on d-d-l. Finaly, ÉtienneBersac started GnomeScan with the great help of the Google Summer of Code 2006, mentored by VincentUntz (aka God). Gnome Scan 0.4 was released end 2006. Gnome Scan 0.4 was still a "proof of concept".

Interesting bits comes with 0.5 series. Gnome Scan has been totally rewritten after some weeks of design (see /Spec) and important decision : make Gnome Scan more dynamic (e.g. less hard coded features). Device properties and processing are no more hard-coded. Another extremly important note about this series is the use of Gegl as ground for processing.

Toward OCR integration in Gnome, Gnome Scan shows it limits. OCR integration will be done in a seperate project : LibAccroc. Gnome Scan will provide ready to use base class for OCR. LibAccroc will allow to choose OCR backend (OCRopus, tesseract, gocr, ocrad, hocr, claraocr, etc.) and provide a unique output format (possibily hOCR) and should expose backend options.

2. Use Cases

4. Discussion

ThiloPfennig: I think that this is really a great project. This is one of the major drawbacks that GNOME has.

NickolayShmyrev: why do you think that library is needed? Isn't it better to make single app (one instance for scanner) that will be able to make scanned document and save it. Futher processing may be done with interested applications like abiword but that task is not related to scanning at all. That will be OCR application and so on.

Davegod75: Great work so far. I would suggest taking a lot at the Canon canonscan software for WinXP for ideas about functionality and ease of use. It has been one of the easiest scanning programs I have ever used.

JavierJardon: Ubuntu plans to use GnomeScan for the next release: https://blueprints.edge.launchpad.net/ubuntu/+spec/desktop-karmic-gnomescan



2024-10-23 11:28