@Vedant Modi The area_of_interest
variable contains the co-ordinates the API returned in your image. You can use this co-ordinates to crop the image or create a bounding box using a package like OpenCV.
In your code snippet if you print the details, you should see the co-ordinates for AOI and other metadata of image.
print(aoi.area_of_interest)
print(aoi.request_id)
print(aoi.metadata)
In this case something like this is printed.
{'additional_properties': {}, 'x': 146, 'y': 0, 'w': 450, 'h': 450}
49499382-63fc-465f-9d46-f21c6148c188
{'additional_properties': {}, 'width': 600, 'height': 450, 'format': 'Jpeg'}