Is there any way to guide not to detect certain defect? #1399
-
Hi. I am working on detecting anomaly in Plastic mold. PS. can self made anomaly masks solve my issue? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Most models are unsupervised, they don't really use a ground truth mask when training. This means that even if you have a mask that you created, it's not going to be used in training. In case of Padim, the model is trained by calculating a distribution for each patch position in image for all normal images in set. So in this case, mask are ignored when training. If you can have position of metallic part fixed or somehow first detect it, I think one way of handling this is to use regular image processing to mask that part out. |
Beta Was this translation helpful? Give feedback.
Most models are unsupervised, they don't really use a ground truth mask when training. This means that even if you have a mask that you created, it's not going to be used in training. In case of Padim, the model is trained by calculating a distribution for each patch position in image for all normal images in set. So in this case, mask are ignored when training.
If you can have position of metallic part fixed or somehow first detect it, I think one way of handling this is to use regular image processing to mask that part out.