amazon-science / patchcore-inspection

Apache License 2.0
733 stars 149 forks source link

Is it unfair to resize first and then centercrop when inferring? #81

Open zhaoyuan1209 opened 1 year ago

zhaoyuan1209 commented 1 year ago

Why resize at the centercrop size first, so that the pixels on the periphery of the image cannot be recognized, is this unfair? (And the length and width of the data in mvtec are the same, no need for centercrop)

PauloFavero commented 1 year ago

I also have this questions. In my case, I am working with high-resolution rectangular images.

I am thinking to create a tiling algorithm that will crop my image into smaller parts and feed it for feature extraction.