[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: How to get text from the screen in KDE development
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2010-03-15 17:57:03
Message-ID: 201003151857.03328.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Monday, 2010-03-15, Thomas Lübking wrote:
> Am Monday 15 March 2010 schrieb Tomaz Canabrava:
> > I didn't quite understood what you are trying to do,
> > care to explain a bit more?
> 
> babylon is a translator for windows. it used to use OCR so you could click
> anywhere onscreen, it detects and reads the text, then translates it.
> 
> @Sertac:
> see QPixmap::grabWindow(), there's also a link to a screenshot example.
> afaik KDE or Qt libs provide no OCR, you could try gocr.

Maybe it is possible to use the accessibility framework for accessing widget 
texts directly.
Only falling back to screen scraping when something is part of an image or 
rendered elsewhere.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic