Python Code to capture 12MP image in Arducam IMX477 UVC Camera Adapter Board

I was using Arducam IMX477 UVC Camera Adapter Board alongwith RPI HQ Camera. I was in need to capture 12MP images through Python Code as my further code is in Python. Please help me.