Closed TaranMeyer closed 3 months ago
@MaxenceGui can you provide an explanation as to why this is a backend issue rather than a model or frontend issue?
I want to investigate this in the backend before assuming it's a frontend issue because in the process_inference_request line 93 there a double for loop that decide if a box need to be hide if it's overlapping another one. If my assumption is wrong, I will transfer this issue to the frontend.
Description It looks like the model for segmenting out the individual seeds and drawing red boxes around them has an issue when the red boxes would overlap, due to the shape, proximity, or orientation of the seeds.
Expected behavior A red box would be drawn around each seed, overlapping slightly due to the angled orientation of the seeds
Actual Behavior Only a single box is visible, surrounding the first (leftmost, higher) seed. Both IDs appear to be attached to that box. When I rotate the seeds so that the red boxes can be drawn without them overlapping, they appear as expected.
Supporting Images To better understand the issue, please add screenshots:
Source Image: Attach the actual picture or image used when you encountered the issue.
Microscope Settings: the microscope settings when the picture was taken.![WIN_20240306_11_38_53_Pro](https://github.com/ai-cfia/nachet-model/assets/142623921/8da63b45-b585-454b-8ec0-c8dbcd97de32)