Borda / kaggle_image-classify

Various Kaggle image classification challenges solutions
https://borda.github.io/kaggle_plant-pathology
MIT License
40 stars 12 forks source link

idea: background removal #5

Open Borda opened 3 years ago

Borda commented 3 years ago

🚀 Feature

implement in the preprocessing phase remove background and keep only most likely leaf

Motivation

suppress a bad effect of background objects, probably would be also useful to. get some attention map and see if any decision was made other than leaf focus

Pitch

see OpenCV version https://www.kaggle.com/victorlouisdg/plant-pathology-opencv-background-removal

Alternatives

can we do it in Kornia too? @edgarriba

Additional context

edgarriba commented 3 years ago

We don't have grabcut. But still I see some false positives. The best would be detecting depth or large gradient intensity to filter out or add an attention loss