uptake / autofocus

Deep learning computer vision for classifying wildlife in camera trap images
BSD 3-Clause "New" or "Revised" License
54 stars 30 forks source link

Fix #112: Allow image types that OS recognizes #113

Closed rahulgurnani closed 5 years ago

rahulgurnani commented 5 years ago

Reference: #112

In this change, allowed image types are read from mimetypes module.

Pull Request Checklist

Maintainer's responsibilities:

gsganden commented 5 years ago

Thanks for the PR! We need to apply black to format the code and confirm that the other checks pass. You can make those changes, or I will make a PR to your fork when I get a chance.

gsganden commented 5 years ago

Cool. I just need to take care of the "maintainer's responsibilities." I think the simplest approach might be for you to resubmit this PR from your fork into a branch here so that I can merge it, make those changes, and then merge it into master. If that's too much trouble then I can make a PR on your fork when I get a chance.

rahulgurnani commented 5 years ago

It's fine, I will raise another PR. I am going to decline this PR.

rahulgurnani commented 5 years ago

Which branch should I raise the PR to?

gsganden commented 5 years ago

Cool. Is it possible for you to open a new branch with some descriptive name, or do I need to do that?

rahulgurnani commented 5 years ago

I don't have permission to create a new branch. Can you please do that?

gsganden commented 5 years ago

Yes, I just pushed a branch called mimetypes. Unfortunately it might be tricky to merge your change in because they have separate histories. The simplest solution might be just to pull that branch down and redo your change on it.

Sorry for the inconvenience!