microsoft / CameraTraps

PyTorch Wildlife: a Collaborative Deep Learning Framework for Conservation.
https://cameratraps.readthedocs.io/en/latest/
MIT License
722 stars 234 forks source link

Maintain subdirectory structure for output images #503

Closed JoejynWan closed 1 week ago

JoejynWan commented 1 month ago

Issue: output detection images and cropped images are directly saved into the output directory, without maintaining their sub-directory structure. This leads to files being overwritten if they have the same file name.

Fix: Allows for the saved detection images and crop images to maintain their sub-directory structure, based on how they were found in the input directory.

JoejynWan commented 1 month ago

@microsoft-github-policy-service agree