Primary competition visual

Wadhwani AI Bollworm Counting Challenge

Helping India
€15 000 EUR
Completed (over 3 years ago)
Object Detection
Computer Vision
832 joined
146 active
Starti
Sep 23, 22
Closei
Dec 04, 22
Reveali
Dec 04, 22
User avatar
ASSAZZIN
7th place Approach
Notebooks · 5 Dec 2022, 21:34 · 15

Alhamdulillah , i survived from the shake-up ! here is my solution approach :

------------------------------------------------------------

------------------------------------------------------------

------------------------------------------------------------

------------------------------------------------------------

.

Discussion 15 answers
User avatar
Muhamed_Tuo
Inveniam

Very elegant and smart approach.

Congrats @Assazzin

5 Dec 2022, 21:39
Upvotes 3
User avatar
ASSAZZIN

------------------------------------------------------------

------------------------------------------------------------

Solution Code :

We need to congratulate @CameleoGrey who stopped working on this challenge but he manage to reach rank 11 .

For people who wants to learn more you can find his code here :

https://github.com/CameleoGrey/bollworm_counting_challenge

------------------------------------------------------------

------------------------------------------------------------

5 Dec 2022, 21:42
Upvotes 3
User avatar
ASSAZZIN

.. @cloudyy Congratulations on your amazing performance during this challenge

i've seen your comment asking about the Binary Classifier Improvement. i hope that you get the answer now.

We'll be waiting for your approach Too.

5 Dec 2022, 21:45
Upvotes 1

Congratulations ASSAZZIN! Your solution is very impressive to me. I will try to learn it. I also applied binary classification but it's only good in Public LB and I don't use it in Private because my CV score is reduced.

BTW, with such deep density of pbw that you have applied segmentation. I feel quite surprised!!

How did you get the masks for the worms?

5 Dec 2022, 21:49
Upvotes 0
User avatar
ASSAZZIN

You mean Ground Truth or Predictions ?

  • Ground Truth : Center of each worm bounding box
  • Prediction : (Unet prediction mask) > 0.1

I was referring to the ground truth you used to train the Unet. Got it thanks.

User avatar
Raheem_Nasirudeen
The polytechnic ibadan

This is really commendable.

6 Dec 2022, 06:24
Upvotes 1
User avatar
Koleshjr
Multimedia university of kenya

Indeed I still have a long way to go. Learning new approaches each and every day. Thanks to guys like you @Assazin . Appreciate it.

6 Dec 2022, 09:28
Upvotes 3
User avatar
flamethrower

Great work! Well constructed as always.

6 Dec 2022, 11:38
Upvotes 1

Great post! Thank you for sharing your ideas. Such a good decision to try UNet, something new among an army of Yolos. I hope you would not mind a few questions. Your results are really interesting! My understanding is that you trained UNet to predict center points of the bboxes, that is one pixel per bollworm. And it worked. Or is there a catch? Then, why did you continue with Yolo? Why have you chosen to do that instead of cutting off potential bollworms from the image and applying image classification? Another thing, you went with full yolo. The boxes received from UNet were not good enough to become RPN? And last thing, binary twin transformer, is it something to convert an image to black and white? I could not find a link to an article or code for it online. Would you mind to post a link to some info about this classifier, please? And again, thank you for the post, and sharing and discussing your solution.

6 Dec 2022, 12:45
Upvotes 1
User avatar
ASSAZZIN
  • The Classifier will predict if an image contain a worm or no,the idea came from this ZindiWeekendz hackathon : Hack_Link. This Classifier is used because i found that Yolo predict some false worms. So the classifier reduce False Positives.
  • U-Net prediction is not always perfect , there is some examples U-net output something like heat map

  • For that I just generated the largest bounding box that contains worms in an image , then transform the original bounding box coordinates to match the new cropped image

I see, good example. Thank you. Is it the prediction with the rule all the pixels > 0.1? And if to try alpha * max(image) instead of 0.1 searching alpha with the help of Optunà or findContours and algebra?

Or alpha * max(ground truth bounding box) or maybe trying to skeletonize the prédiction in an attempt to find peaks of probability values... or something else... just to get rid of the 0.1 in favour of something more flexible.

User avatar
ASSAZZIN

Yes ,

my final mask = the prediction with the rule all the pixels > 0.1