agentmorris / MegaDetector

MegaDetector is an AI model that helps conservation folks spend less time doing boring things with camera trap images.
MIT License
86 stars 20 forks source link

Add option to skip image resizing and rely on resizing done externally #113

Closed stefanistrate closed 10 months ago

stefanistrate commented 10 months ago

Hi Dan,

In my case (for Wildlife Insights), I want to resize images before calling process_image(). Would you like to support this use case in the main repo through a new parameter?

Ștefan

agentmorris commented 10 months ago

Looks non-controversial, and if we can support Wildlife Insights without forking little bits of inference code, that's a win/win. I confirmed the following in testing:

I believe that's all WAI, merging.