Hello
Is it possible to extract text from within an image using Ranorex?
I know HP's UFT tool has an image method called "GetVisibleText" which allows this. In the attached screenshot I am able to extract "JHT101" and "Puhoi South Bound" from the image.
The app is a Java Web Start desktop application using Swing objects - object spy cannot individually recognise each image, only highlighting the entire frame surrounding the images, so I need image-based recognition - but crucially, also need to extract text from the image as the images are all the same apart from the text.
Does Ranorex have the equivalent? It's the only blocker to us using Ranorex at present.
thanks!
Extract text from within an image
Extract text from within an image
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Extract text from within an image
Hello lac,
Unfortunately, it is not possible to read out text information from images. Maybe we can find another way to recognize the images. Please send an email with your requirements to [email protected]
Thanks,
Robert
Unfortunately, it is not possible to read out text information from images. Maybe we can find another way to recognize the images. Please send an email with your requirements to [email protected]
Thanks,
Robert
Re: Extract text from within an image
Hi,
I too have similar situation where ranorex spy is detecting as whole as screenshot, and would like to extract some text on the captured image. The application is built on Java, swing, OpenGL and it's windows application.
The attached file is whats being identified by spy tool not the text elements.
Can you please anyone suggest about how to get the text and their value. For example I want to read Scale:0.39. How can i get this value.
I too have similar situation where ranorex spy is detecting as whole as screenshot, and would like to extract some text on the captured image. The application is built on Java, swing, OpenGL and it's windows application.
The attached file is whats being identified by spy tool not the text elements.
Can you please anyone suggest about how to get the text and their value. For example I want to read Scale:0.39. How can i get this value.
Support Team wrote:Hello lac,
Unfortunately, it is not possible to read out text information from images. Maybe we can find another way to recognize the images. Please send an email with your requirements to [email protected]
Thanks,
Robert
You do not have the required permissions to view the files attached to this post.
Regards,
Subodh
Subodh
Re: Extract text from within an image
Please upload a Ranorex Snapshot of the corresponding UI element. This will give us more detailed information about the element in question. But I'm afraid that it won't be possible to read this text information.
Re: Extract text from within an image
Hi,
In my opinion, the only "working" solution would to extend the opengl window with accessibility information, so Ranorex could track elements and read data from opengl window. It's possible (we did it in my previous work with Catia 3D window), but it's not particularly easy process. And of course, it would require some time and developer(s) to do this. For more details, please check my post here:
http://www.ranorex.com/forum/ranorex-fo ... tml#p37037
In my opinion, the only "working" solution would to extend the opengl window with accessibility information, so Ranorex could track elements and read data from opengl window. It's possible (we did it in my previous work with Catia 3D window), but it's not particularly easy process. And of course, it would require some time and developer(s) to do this. For more details, please check my post here:
http://www.ranorex.com/forum/ranorex-fo ... tml#p37037
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration