convert to bounding box for object detection #976

René Buffat

You can find information about how to find the bounding box of a dataset in Fiona's documentation:
The bounding box of individual features can be calculated with shapely:


I have 4 raster images and 1 shpfile contains polygons for these images and i want to convert shpfile to bounding box in object detection . Because the size of raster image is so big, i have to split into tiles, but i don have label corresponding in this tile  .how can i get bounding box corresponding of each tiles by shpfile