Improve detection when object in foreground

Hi @tanyastere, this is not an issue we need any attention put to right now but we’ve seen it a few times in the same scenario so wanted to bring it to your attention. In the examples below as well as previous examples Paul has seen, it appears that where there is a big foreground blocking element (like a truck in these examples) in an image, detection is significantly degraded for any target species in the background.

https://africancarnivore.wildbook.org/encounters/encounter.jsp?number=d05e240b-ecd5-4c3d-93da-996acf1f712f

https://africancarnivore.wildbook.org/encounters/encounter.jsp?number=55070187-0fed-4ae6-be2c-f526d221f210

https://africancarnivore.wildbook.org/encounters/encounter.jsp?number=9289bd59-5a7a-46e8-92df-d98ae9004063

https://africancarnivore.wildbook.org/encounters/encounter.jsp?number=e1c4837a-e66c-48c9-9a87-3289571b7ce1

https://africancarnivore.wildbook.org/encounters/encounter.jsp?number=113fd4c9-b859-4dfc-9675-afe0980963d3

cc: @PaulK

where there is a big foreground blocking element (like a truck in these examples) in an image, detection is significantly degraded for any target species in the background.

This is something that would likely involve an update to our ML practices, so I’m gonna break this one out into a feature request and have JP look at it.

1 Like

@parham
I’ve just found a different example of this problem in a newly uploaded encounter. It involves a tree branch in front of an animal that was not detected by the system:

https://africancarnivore.wildbook.org/encounters/encounter.jsp?number=eb30a129-ac81-4c93-b179-74b31e709737

In this encounter, there’s a 2nd animal lying beside the one that’s occluded by the branch and it was detected while the one behind the branch was not detected. This example may change when/if the researcher elects to add an annotation to this undetected dog.

Yes, as these types of issues are marked, the system has the potential to improve over time. We will need to mark these with corrected boxes and then retrain the detection model.

I ran a few different configurations against the image to see if the detector would place a box on that background animal and, once it finally did, the box scored very low (around 15% confidence when we normally require 48% confidence). The system is optimized to find Annotations of Interest (AoIs) and that background animal is very challenging from an ID perspective, so it was not prioritized during the initial training process.

Hi @parham, hope you’re keeping well. Thanks for the info, it’s interesting and makes perfect sense. The truck example will be less common for us, I believe, than scenarios where a tree or termite mound partially occludes an animal. We will definitely box all animals that get missed in detection so we’ll have lots of material to re-train with.

thanks
M & @PaulK

1 Like