How to extract polygon coordinates in UiPath Document Understanding?

Hello UiPath Community,
I am working with the Document Understanding framework and would like to extract polygon coordinates for extracted fields in a document. I am using the latest version of UiPath Document Understanding and OCR engines for extraction. However, I do not see a direct way to retrieve the coordinates or bounding box information for detected elements.

Could someone please guide me on how to achieve this? Any code samples, activities, or suggestions would be greatly appreciated.

@bharti_dubey

Welcome to the community

Please check the response object …deserialize it and see mostly if the model supports then you would have a location key which would contain those details

For generative extractor you have one specified schema here

Cheers

Thank you for your quick response @Anil_G .

I have tried using generative extractor prompts, but they are not extracting the field coordinates.

Regards,
Bharti Dubey

@bharti_dubey

please verify as per privded schema it would already give the box details

link provided above

cheers

Hello @Anil_G ,

It will be very helpful if you try it once because i am not able to find schema to extract box details. They gave some prompt but not provided prompt to extract box details.

Thank you again for your help.

Regards,
Bharti Dubey