Comments (9)
No, only Windows built-in OCR
from windowtextextractor.
WindowTextExtractor uses Microsoft UI Automation. But when you click "Grab" button, it uses Windows OCR.
from windowtextextractor.
thanks for the prompt response ! if I don't want to use OCR, how can I extract text?
it seems that whenever I try to hover over an app, I get property related information instead of the textual content.
Sorry if I misunderstand the product!
from windowtextextractor.
You should download the latest version 2.0.0. Open "Text" tab and try to hover over an app for textual content. On "Image" tab you can see graphical window content and can grab it by "Grab" button.
from windowtextextractor.
Please look at the attached picture:
This is the output when I try to hover over my chrome window, when I try on other apps, it does not output anything. And I am using the latest 2.0.0 version. I am not trying to use OCR as I need accurate textual representation of the content of my desktop.
from windowtextextractor.
Chrome does not support UI Automation by default. On Chromium-based browsers, try to access chrome://accessibility
(it will redirect to edge://accessibility
on Edge, doesn't matter), then check all under Accessibility modes
.
You will need to do this every time you want to extract text from Chromium-based browsers, per (re-)launch of browser.
from windowtextextractor.
Interesting, this works and fixes it. So it depends on whether the app supports UI automation or not ? I ve tried on other apps such as VScode, discord etc and run into similar trouble where these apps are recognised as chrome legacy windows. Are there other means to retrieve textual content from desktop without using OCR and is more global than UI automation ?
I apologise if I am asking for redundant or stupid questions. I am trying to research for ways to do so but so far even state of the art OCR models have failed on my test cases.
from windowtextextractor.
Yes, some windows do not support UI automation. I could not find a universal solution for obtaining window text. Therefore, WindowTextExtractor contains several tabs. "Text" tab is for Microsoft UI Automation extracting and "Image" tab is for Microsoft Windows OCR extracting.
from windowtextextractor.
oh thank you !! I am happy that you kept maintaining such project. Are you using tesseract for your OCR support ?
from windowtextextractor.
Related Issues (12)
- Images for README HOT 5
- Application != open HOT 1
- watcher / streaming feature HOT 1
- Apps issues HOT 2
- Text collection function needed. HOT 2
- OCR Win 7 HOT 1
- Chrome and Firefox Stopped Lunching or Not Responding while SmartSystemMenu Running HOT 6
- [FR] Check local directory for Settings.json before AppData
- [FR] Dark Mode
- [Feature Request] Add transparent and opaque items to the Action button
- [BUG] 2000/1024 character limit HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windowtextextractor.