How to generate another PDF from the output of "formrecognizer" JSON result

Rahul Gupta 0 Reputation points
2023-06-14T15:34:23.68+00:00

I have modified some fields value from the output of Azure "formrecognizer" JSON result. I want to know how can I again convert the JSON output to PDF

Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,451 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 15,006 Reputation points
    2023-06-14T22:22:37.2766667+00:00

    Hello @Rahul Gupta , thanks for using Microsoft Q&A Platform.

    As per my understanding, it may not be possible to convert the JSON output generated by Azure Form Recognizer back to a PDF file. Because the JSON output generated by Azure Form Recognizer only contains the extracted data and its corresponding coordinates in the original document, and I don't think it is possible to directly convert it back to a PDF file. By referring the data maybe, we can create a PDF.

    My suggestion would be, if you wish to modify the values in the PDF document, you can directly use a PDF editor tool. Once you have made the necessary changes, you can then use Azure Form Recognizer to analyze the updated PDF document.

    There should be various tools and libraries available that may help you create PDF files based on your use case.

    I hope this helps.

    Regards,
    Vasavi

    -Please kindly accept the answer and vote 'yes' if you feel helpful to support the community, thanks.

    0 comments No comments