ai-cfia / ai-cfia/nachet

Seed detection model problem

Abierto
#47 1 comentario 0 reacciones 0 asignados Ver en GitHub
bug model
Lenguaje dominante
Python
Estrellas
2
Forks
2
Merge medio
5 d 6 h
PR fusionados (30 d)
5

Descripción

**Description**
While doing user testing on Centaurea melitensis, I found that the seed detection model had a REALLY hard time detecting this species properly.

**Bug Summary:**

![Image](https://github.com/user-attachments/assets/350d55f6-bf86-4b44-b2d3-898396aae434)

![Image](https://github.com/user-attachments/assets/7dd89d51-2621-40f3-848f-3d88d9a20587)

![Image](https://github.com/user-attachments/assets/e1a119bc-de58-4f74-80cb-900553a367c8)

For some reason, the model had a really hard time detecting the correct number of these seeds. I had to adjust the positioning and then increase the contrast to the point where the pappus (the white fluffy part at the top) pretty much disappears.

**Steps to Reproduce:**
Load any of the images below and classify. The results in my screenshot were from the 27 species model but I don't think the seed detector has changed?

**Expected Behavior:**
Five seeds would be detected, with boxes that overlapped if necessary.

**Actual Behavior:**
Boxes either straddle multiple seeds or some seeds are missed entirely.

**Environment:**

**Commit Hash:** a427278e-28df-428f-8937-ddeeef44e72f

**OS Version:** Windows 11

**Browser Version:** Edge

**Extra Screenshots:**

![Image](https://github.com/user-attachments/assets/bdbdfc2f-1cc7-479f-897e-ce4c5068417b)
![Image](https://github.com/user-attachments/assets/b6046f90-97a6-4a0e-9430-5cf6ee461900)
![Image](https://github.com/user-attachments/assets/0ef89065-d681-4e98-b161-07f9ae8350f0)

![Image](https://github.com/user-attachments/assets/91057a31-7f1a-417c-91b6-54b1a0fac29f) This last picture was finally detected properly, but you can see it is pretty strange-looking compared to the other ones.

**Additional Context:**
I suspect the problem is something to do with the pappus (the white feathery stuff at the top of the seeds) having low contrast to the background and not a strongly defined edge. When taking images of seeds with pappus we often use a darker background, but I worried this might mess with the results further since the model, as I understand it, was trained with light background images. On the up side, the IDs were all correct!

**Suggested Fix:** (facultatif)
[If you have an idea of how to fix the bug, describe it here.]

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.