I need to extract QR code from PDF

Extract PDF Pages: First extract the QR code from your PDF file.
Identify and Decode QR Code: After extracting the images or pages containing the QR code, we’ll decode the information embedded in it.

This can also be done using DU (Document Understanding)

If u required code please let me know