Skip to content

Is there any way to guide not to detect certain defect? #1399

Answered by blaz-r
papago2355 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by papago2355
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants