My Python project has a C++ extension that accepts detection coordinates to crop a GDAL raster, and then return the crop to the Python side.
On the C++ side, I create