Is Aspose.OCR is able to identify Font attributes in the Image

Hi All,

I was reading key Features of Aspose.OCR and there it is mentioned:
“Optical character recognition involves handling font attributes. In order to make sense of a particular character from image, you need to know different font attributes as well. If font information is not available then it is not feasible to recognize a character from the image. Aspose.OCR for Cloud API helps you recognize text and related font attributes accurately. These font attributes include font name, font size, font style (bold, italic, underline) etc.”

"Using Aspose.OCR for Java, developers can extract text and related information such as font, style & location of the text from specific parts of an image. This feature allows to perform the OCR operation quickly on document scans that follow the similar structure."
So does it means that it will be able to tell me Fonts used in the image text and font size etc?

I was checking there RESTAPIs and I couldn’t find any API which will return font attribute information also.

Can you please tell me if it is suitable to find Font attribute information or not?

Regards,
Jitendra

Hi Jitendra,

Please check the following topics to get this information using Aspose.OCR for Cloud and Aspose.OCR for Java respectively.

Extract OCR text from images using cloud APIs

Extract OCR text from images using Java APIs

Best Regards,

Hi Muhammad,

Thanks for the reply.

in the following URL it is mentioned that REST API returns font attributes in JSON data

But when I used RESTAPIs, I only get text information as JSON response

{“Text”:“This is Testing Font”,“PartsInfo”:{“Parts”:[{“Text”:“This is Testing Font”}]},“PagesInfo”:null,“Code”:200,“Status”:“OK”}

I am using POST method to send images to REST API in php.

http://api.aspose.com/v1.1/ocr/recognize?url= . $file_name ;

I am passing attached image to this.

Please let me know where I am doing wrong.

Regards,

Jitendra

Hi Jitendra,

We are investigating it and will update you soon.

Best Regards,

Hi Jitendra,

This issue has been logged into our issue tracking system as OCR-34265. We will update you as soon as the issue is fixed. Sorry for the inconvenience.

Best Regards,

Hello,


I want to know that - is Aspose API allow user to identify Font from image and give which font is used in image and other attributes? If yes than give some reference to do this.I need to do this using objective C.
Exa - image with text google than which font is used on google text i want to know.

Right now in out put what i am getting is

Image url : https://www.gstatic.com/images/branding/googlelogo/2x/googlelogo_color_284x96dp.png

output :{

Code = 200;

PartsInfo = {

Parts = (

{

Text = Google;

}

);

};

Status = OK;

Text = Google;

}

Thanks,
Checkmate

Hi,

Thank you for writing us back.

This is to update you that Aspose.OCR for Cloud API does not offer functionality to detect font related information. The said functionality was present in the past but due to its low quality, the feature has been removed.

We are sorry for the inconvenience.

Hello!
We want to use your .Net API for detecting the font of the text in an image. I have found that Font property of IRecognizedTextPartInfo interface no longer exist, and above you have mentioned it not working for Cloud API. Are you going to add support for font detection in .Net API in closest future or does it exist?

@dovletmamenov,

This is to update you that the support to detect font is not present in Aspose.OCR for .NET. There is no plan for the support of this feature. Further, please forward us the more details about your requirements. We will discuss it with our product team and update you about feedback in this forum thread.

@ikram.haq,

Thank you for your reply!

Our requirement is to detect lines of text from an image and detect font used in that text.
We wish to be able to provide a font file to API and check that the text uses provided font. This provided font might be not installed on system.

We want to use this functionality in unit tests to Assure that our output images contain valid text with valid font.

Thank you and kind regards,
Dovlet.

@dovletmamenov,

Thank you for details. The feature details have been logged in our system with ID OCRNET-3405 for further investigation and understanding by our Product team. We’ll update you here once there is some information or a fix version available in this regard.