Run Speciesnet on Megadetector crops

Hey! My understanding is that when I run SpeciesNet in AddaxAI it is running Megadetector, then running SpeciesNet on the cropped out highest scoring detection and then assign all detections in that image to the top scoring SpeciesNet class.

Is there an easy way to run SpeciesNet on each cropped detection independently instead, rather than just on the highest scoring detection?

Currently I’ve written my own code to do this based on the link below, but it’d be nice to use AddaxAI instead for simplicity.

(agentmorrispublic/camera-traps/speciesnet_multispecies_demo.py at main · agentmorris/agentmorrispublic · GitHub)

I can work around it by running megadetector, then cropping detections with the post processing tool, then running speciesnet, then writing a script to join this back onto the megadetector outputs, but that kind of undermines the point of using AddaxAI for simplicity.

I could also do this following your custom classifier guide (see below) but again, it’d be nice not to have to do that.

(How to integrate your custom classifier into AddaxAI)

Thanks for your time!

Hi @joshuawilson ,

Not yet unfortunately! Dan has provided all the tools to do that, and I have incorporated it in the new version of AddaxAI, but that is still in development…

So to answer you’re question, hopefully soon it will!

But it sounds like you have a pretty good workaround for now.

Hope that works for the time being :slight_smile:

1 Like