amazon-web-servicesamazon-textract

AWS Textract - Is there a way to distinguish which words are in bold?


I'm using AWS's textract for documents, but it doesn't seem to have any detection for if the text is in bold. Is there something I'm missing or is that just not a feature?

enter image description here


Solution

  • Bold text detection does not appear to be a current feature in Textract.

    The Textract API returns lines and words of text in a Block object.

    The Block object data type is documented at https://docs.aws.amazon.com/textract/latest/dg/API_Block.html and does not have any properties related to the font weight (such as bold).