cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

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

Suraj_Patil
16-Pearl

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

 

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

 

ACCEPTED SOLUTION

Accepted Solutions

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.

 

View solution in original post

4 REPLIES 4
PaiChung
22-Sapphire I
(To:Suraj_Patil)

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)

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

PaiChung
22-Sapphire I
(To:Suraj_Patil)

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

You can integrate using REST API instead of using TWX Flow

 

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.

 

Announcements


Top Tags