EfficientAd detects defects on the masked areas #2217
Unanswered
crazyblueer
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hello, it is hard to tell without seeing images. If this masked area changes size / shape / location, it can be seen as anomalous by EfficientAD. I would focus at one problem at a time and drop all image transformations (Fuzzy contrast and CLAHE) and try to see if this changes anything, also try to use gray color instead of white. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using EfficientAd and I see that when inferencing, it tends to focus on objects with color within the image and not focus on the black region - where I need it to do the detection task. Since those colored objects are unnecessary, I masked them with white color using OpenCV, and then use Fuzzy contrast and CLAHE contrast to highlight the defects (since my defects are quite weak). However, when I performed inference again, the model highlighted the left side of those masked regions as defects. I don't really understand why since I assumed that if the masking is applied to all images, the model should ignore those masked regions. I am not sure if I haven't done the preprocessing step right or maybe because of some properties with white color. I tried to play around with the order of equalization histograms and masking, but both yields the same results.
I'd appreciate any insights on this. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions