Skip to main content
16-Pearl
July 1, 2024
Solved

How to read Texts from images in thingworx and send to thingworx database?

  • July 1, 2024
  • 1 reply
  • 1404 views

 

How to read Texts from images in thingworx? is there any direct functionality to read texts?

is there any extension available for this? 

i have this link but for this need to install thingworx flow 

https://support.ptc.com/help/thingworx/platform/r9/en/index.html#page/ThingWorx/Help/Integration_Orchestration/Azure/ComputerVision.html

without thingworx flow how to get this done?

 

 

Suraj_Patil_1-1719834461865.jpeg

 

Best answer by Rocko

I agree with Pai. You can use ContentLoader services and push the image to Azure Cognitive Services with a REST POST request:

 

https://learn.microsoft.com/en-us/rest/api/computervision/image-analysis/analyze-image?view=rest-computervision-v4.0-preview+%282023-04-01%29&tabs=HTTP&tryIt=true&source=docs#code-try-0

Handling the authentication is probably the most complex part of it.

 

The alternative "old-fashioned" approach would be to get an offline OCR software, commercial or open-source, and write a TWX extension that passes over the data.

 

1 reply

22-Sapphire I
July 1, 2024

Azure Computer Vision or other such programs can help read the text.

You probably can just integrate to it using REST API vs. using TWX Flow

From what I understand TWX Flow might be discontinued (still not 100% decided I think)

16-Pearl
July 1, 2024

yes i understand thingworx flow can be useful but apart from that is there is any other options to get it done?

22-Sapphire I
July 1, 2024

Sorry you should use a third party program like Azure Computer Vision.

You can integrate using REST API instead of using TWX Flow