static void_f_do_barnacle_install_properties(GObjectClass
*gobject_class){
GParamSpec *pspec;
/* Party code attribute */ pspec = g_param_spec_uint64
(F_DO_BARNACLE_CODE, "Barnacle code.", "Barnacle code",
0, G_MAXUINT64,
G_MAXUINT64 /* default value */,
G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_PRIVATE);
g_object_class_install_property (gobject_class,
F_DO_BARNACLE_PROP_CODE,
Joaquim [email protected]
Making the printed world accessible:A11y in OCRFeeder
FOSDEM 2011
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
What is it?
Document Analysis and Optical Character Recognition
for GNOME
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
What it does?
* Detect contents* Get their text using system-wide
OCR engines* Classify the contents as graphics
or text
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
How it works?
* Detect contents* Get their text using system-wide
OCR engines* Classify the contents as graphics
or text* Export the document in an editable
format
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Because of this, OCRFeeder is useful for visually impaired users
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
... but there were some challenges when making the UI more
accessible
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
How to make it more accessible?
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
How to make it more accessible?
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
How to make it more accessible?
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Direct ways:* Check the focus with Orca
* Set the accessible object's name to every “anonym” widget
* Set mnemonics and shortcuts * Add a menu/kb shortcut for every
“mouse” action* Add missing labels
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Accessible objects' names
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Add shortcut keys and tooltip texts to every widget
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Add missing labels (and don't forget to assign their mnemonic widget)
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Add menu entries for actions that could only be done with the mouse
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Indirect ways:
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Add feedback for every major time taking operation
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Importation from scanner is important... Many printed material on paper
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Improvement of columns detection
Without the With theImprovement improvement
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Deskew of images because they might be slightly rotated when imported from a scanner(using the Hough transform)
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
A way to diminish the content areas' margins was added so it places the contents better in the generated documents.
Other improvements:Text cleaning: Correct false newline characters and remove hyphenation from the text given by OCR engines
Copy text to clipboard
Spellchecker support
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Demo
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Future work:* Assistant dialog to guide from
image addition to document generation
* Review focus changing* Use only one status bar
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Webpage:http://live.gnome.org/OCRFeeder
git:http://git.gnome.org/ocrfeeder
Bugzilla:coming soon...
Joaquim Rocha (Igalia) · OCRFeeder · FOSDEM 2010
Thank you!
Recommended