Introduction #
The authors of the MVTec AD: the MVTec Anomaly Detection dataset addressed the critical task of detecting anomalous structures within natural image data, a crucial aspect of computer vision applications. To facilitate the development of methods for unsupervised anomaly detection, they introduced the MVTec AD dataset, comprising 5354 high-resolution color images encompassing various object and texture categories. The dataset comprises both normal images, intended for training, and images with anomalies, designed for testing. These anomalies manifest in over 70 distinct types of defects, including scratches, dents, contaminations, and structural alterations. The authors also provided pixel-precise ground truth annotations for all anomalies.
The ability to recognize novel or anomalous images is a strength of human perception. However, machine learning systems often struggle with such tasks. There is a significant need for unsupervised algorithms capable of detecting anomalous regions, particularly in fields like manufacturing where supervised training samples are limited or the nature of defects is uncertain.
In this context, the authors identified the importance of datasets for anomaly detection and introduced the MVTec Anomaly Detection dataset to bridge this gap. They chose industrial inspection tasks as a suitable use case for the dataset, where defect-free images are employed for model training, and the model must detect anomalies during testing. The scarcity of defective samples in industrial processes makes unsupervised methods essential for accurate anomaly detection.
The MVTec Anomaly Detection dataset comprises 15 categories containing 3629 training images and 1725 testing images. Training images lack defects, while the testing set contains both defect-free images and images with various anomalies. Five categories cover different types of regular (carpet, grid) or random (leather, tile, wood) textures, while the remaining ten categories represent various types of objects. Some of these objects are rigid with a fixed appearance (bottle, metal_nut), while others are deformable (cable) or include natural variations (hazelnut). A subset of objects was acquired in a roughly aligned pose (e.g., toothbrush, capsule, and pill) while others were placed in front of the camera with a random rotation (e.g., metal_nut, screw, and hazelnut). The test images of anomalous samples contain a variety of defects, such as defects on the objects’ surface (e.g., scratches, dents), structural anomalies like distorted object parts, or defects that manifest themselves in the absence of certain object parts. In total, 73 different defect types are present, on average five per category.
All images were acquired using a 2048×2048 pixel high-resolution industrial RGB sensor in combination with two bilateral telecentric lenses with magnification factors of 1:5 and 1:1, respectively. Afterward, the images were cropped to a suitable output size. All image resolutions are in the range between 700×700 and 1024×1024 pixels. Each dataset image shows a unique physical sample. The authors did not augment images by taking multiple pictures of the same object in different poses. Since gray-scale images are also common in industrial inspection, three object categories (grid, screw, and zipper) are made available solely as single-channel images. The images were acquired under highly controlled illumination conditions. For some object classes, however, the illumination was altered intentionally to increase variability.
The pixel-precise ground truth labels were provided for each defective image region. In total, the dataset contains 1888 anomalous regions. All regions were carefully annotated and reviewed by the authors. During the acquisition of the dataset, the authors generated defects that were confined to local regions, which facilitated precise labeling of each anomaly. Additionally, pixels on the border of anomalies or lying in ambiguous regions were preferably labeled as anomalous. For locally deformed objects, annotations were created on the deformed area as well as in the region where the deformed object part is expected to be located. Some defects manifest themselves as missing parts. In these cases, the expected location of the part as anomalous was annotated.
Summary #
MVTec AD: the MVTec Anomaly Detection is a dataset for instance segmentation, semantic segmentation, object detection, classification, and unsupervised learning tasks. It is used in the anomaly detection research. Possible applications of the dataset could be in the industrial domain.
The dataset consists of 5354 images with 1888 labeled objects belonging to 48 different classes including color, scratch, crack, and other: combined, cut, hole, contamination, faulty_imprint, poke, bent, rough, thread, glue, defective, metal_contamination, scratch_neck, manipulated_front, scratch_head, thread_top, thread_side, flip, broken_small, squeeze, broken_large, broken_teeth, split_teeth, oil, glue_strip, print, fabric_border, fold, squeezed_teeth, fabric_interior, gray_stroke, cut_inner_insulation, bent_wire, missing_cable, cable_swap, broken, bent_lead, damaged_case, misplaced, cut_lead, poke_insulation, cut_outer_insulation, missing_wire, liquid, and pill_type.
Images in the MVTec AD dataset have pixel-level instance segmentation annotations. Due to the nature of the instance segmentation task, it can be automatically transformed into a semantic segmentation (only one mask for every class) or object detection (bounding boxes for every object) tasks. There are 4096 (77% of the total) unlabeled images (i.e. without annotations). There are 2 splits in the dataset: train (3629 images) and test (1725 images). Alternatively, the dataset could be split into 15 categories: hazelnut (501 images), screw (480 images), pill (434 images), carpet (397 images), zipper (391 images), cable (374 images), leather (369 images), capsule (351 images), tile (347 images), grid (342 images), metal_nut (335 images), wood (326 images), transistor (313 images), bottle (292 images), and toothbrush (102 images). Additionally, there are 4096 good images with no defects provided for classification purposes. The dataset was released in 2019 by the MVTec Software GmbH, Germany.
Here is a visualized example for randomly selected sample classes:
Explore #
MVTec AD dataset has 5354 images. Click on one of the examples below or open "Explore" tool anytime you need to view dataset images with annotations. This tool has extended visualization capabilities like zoom, translation, objects table, custom filters and more. Hover the mouse over the images to hide or show annotations.
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/N/z/Lw/m22MYuTrTMRtjW2lKHq5B2sZNqSfThLhSr3jIKZEerIf367or8Kv2MrZYxLjl7XGtEWQpuHrhoY9YlE7y5URpcOtitvUwZpBE1zMpitiEm2yyj76YcXKdee1jCwT.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/q/T/WY/XXGopnrJ8ivbOyfMjb5OWGr93YsOCh7JHL29GwzaPHfjtus0f56jRDLwunBlJNeRxsNjZCypo69TKgTdG0UtxPhGl3zSVVGRzjAzfM5OahjaavHhaC7MkO11FlwG.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/o/h/1W/1sFiBVq6BkevOKykdhXBW6rxkpMB0J1Kw57g0WUDNgrrqdBzTRuJtGazj2rLk8bAvrAD4FIMFoytm1eJ2EoJsC6TAyquueDsYWFw9Wfqo7RXoTxsgVAkycJMeL7Y.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/H/J/Fv/5jA52alosaIxPH09mj3p87qXt6xwDsb4arnzoXndrAJWzHpse2tWu6lXQgvo5LJSB84v3AgKRs3qcAKxzBo2V8lLqxH63tMbP8YSIx5f1fdISPQSCtdfEh0CuE59.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/2/X/9c/MN73eNrDIcIC8YxiPT5PEATvUgrhkFhAV2fLgkC9caUcxGWW58h4mijja6OV6r5aRyYP4Mhn5FVFJvQl32xNziKSxlVTHKAuQeIIddMy6H1o3I4gExDkWCDYJoU3.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/1/t/Vg/tHNuyJ6sZG5oaxklJHjfCgNhwo0xCHuHR34sPQ1atRVD5jYLcMLARhuPARG6cKzk6xSa3o3Yc4yoKyaMxqXsQpbyUfu09R0yJTLSMFZpSYpImMzNItkGsBHROT2p.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/e/S/VY/kQQMVL16vcrZBrOcU0gaF0gM6nWmoUNOZhks3O1BTtuxHDQke8JNFlhWwSnznBbtzDyIuFxDL33aBgUzcoVET8U3uAhyc7e1Lm9M6s2Eg0Gwkl3tctefPj7COfvD.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/T/x/n4/EEio9wqcjNvwHgVa25PqGjCLFfDj2Id9ajVzmsXpj5ptD8uTYeI3hUqsz4hCw7eP8PXKQ7VV5CmT1LCunrQ6QBI8VMPYKNhA1l5j77qI33FdCKktYDPJlpM30Av5.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Y/y/Gx/piVFQcoLj7Bl8BydnWCl5kDqZGndkYGRr2pu67N78sN5VJTUgF1dj2H1JW2m2P2opSUdozLyNU5AVS27rLkDkARUxcRga0ffXKcHI8jvw12dVqH5H3bmyp9bDOiy.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/U/f/Xq/N2rtlMQizGW5DFHBixuBdlE41560Vik2h0Ah7AoRLSUZ5SjehvyfkrIPuD81spctCXXJvZwq3V1iFVONC7JFKtkRAeIfAux6sY92cNCHoycHJpwomeYmn0ZCcBlF.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/P/G/oE/aoR61EfXrb5RF1aHxXhFbT03ufv2P1ZPUblHeho4iUN3S9Wx4LF8ufCYzi1AhW6TNoj82MtSbf3TSVl0RS34IKKmc6saxU8qwRxZtlF61NZuwYDMuUTyHkfVCGv6.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/b/a/7B/RLqaIuoa3VvPT4JIDLcEsKRAhnGctLIExWzmSLrANc5LddlAnqdr4X6mTA8b03prpqxV5o8Me7kMYtdEV3X7XBnJVwETrgglg1nYx8Sgq5JqIlibfaujlud4OWtj.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/Q/Y/vP/YI6ppnwSh8dqdhU5dGRl7zgKMfwhE6g831LaLPmV8daS6Tlj5Dej2YmB6ve3DxubUdpl15WKxKHgxVyQujPkiowN01CoGTjwdZNRqAm9V59QVTybGouQjLohUt0o.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/U/d/Jn/Ke1FECbuanLyRHmjx8WCjsaptU8G3h18DqkNxyxcKoWPPP6sOxI6wDTV8zPn3TczkXbSsog7c5rZmbWRYGx8FBQeyaEohAJHm2CqjhSnyxUSRN76OXTtsVxMQmip.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/C/H/18/IgXDh6BdwSSL4JROYSuG6MyzZL3gJQufGMCcSxsfAQD8EGgY61lVdLeKN5y8t28yXnuZs0vvVnaZvZ4vCOxKjZoHzjZI7prpW6yJERMdkgSr5GueOJMuuesO51qq.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/q/r/lq/4NjVkPn3hcXbSY7yHgPzUMApGosTMCCbjgbDKpwVTDw86ZArGlALv3g3nOsGJBLMlPsMTG8sZp5pRSJ0mbPyLTpwVFUBM4hALLVWQzpph5R9YcD2DNrpbJzSHFkx.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/1/4/dv/kwOdbudx5g3mAMCsaKGURLGzzK90ojSqTMpwP1Ru8MromjiNbYuG5BwnVFk55A9qK8n27jov3sQCOcxK05XQDdbxMf4Uy2EDKyfTzecs6Yl4G4t4qY8K45Y5iYry.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/k/G/zx/HtjNc5oYO7JQZmhUXhQMNLYrqk6VLRTusUmwTWhSrDdu4jposcQO92QYFhUiBls4JvbYIiypLaLF4fWafJme1DvPRCaZb3aatruJoZWf2ANQCJve7nv7T0MB9r3Z.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/n/V/Fl/QKRyCK2Rec0ZUyLiATvsxRZlI82TVcH1XOYrEFADrdX7apFMXUbJqmm9PRiP0uuLkR47EIfFcqyeAArHRATCgeVuH911a8DM9FFtfOSrqUQ8cnM5RTIgMgQldHw7.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/6/c/9i/mT9yNzz6ZyNmhj3fgzh943WoMfdIu6TGgOzE02YSMJ7HazpFbMFNtlc4U3DupgEF1NEJMKsy9DoCkuMZlFOmuFMC8KYAXiqL6qCzS20qwtNXd0TvMEi4J1WVP3Fd.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/j/h/Dd/5AUwFq4RdX547brqDqjbY02VEBoA79VeoCb7D8gSswJFS3ngNGhFkiIJ9t5FM33u3ArpS1juMr8JDSS1gskPXHPBcXmCOmjTIHgfJMCdZwbiJyxAs3Ncb6GiUOMs.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/y/V/my/tEZNKCoJ2DvYSsEM1i0WXLJiLUo3CbPr8NanX8OeSf3te2ndP1KxmtthB54u2WNh5bXcTn2CGtXGgh50atMzmsagkhpCTrQcYkhOnl7yJLdjMP4HRhL7QkHfSDxx.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/e/4/mL/DA1AFSmkIzSoySkHQWVMe8HQSSZqjeH4ylMlypdv5gdDT4fUPO6eEN7880ktKNTDckV7bpTiThO4xcvaODPk76z8SlKeTYGQgvxmLPj0zWLSzaVpnoKSSNyE6VDt.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/z/G/Uk/xgTvbsMkUssIviynmOhjj3uh97oWONlQNQ7S4Ib2Clw404o76WLBXsIwX4S3he7kSRGyDoD4aRGV39etAYfE1O5zCOCk1BAnCXlWpe912XzOCFORCAaTnHZ7EKu5.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/m/z/xi/1mcNaKrr51v6MXelX5g08XIN1BfG1KgCTq2jtgxKX194sHOq9XlTRXkADU7TRglhafbAjrmtS1IlZMcLlZ8av03XgWhSuhIlgnUIP85CnLE7uwRF29joPihSfAAQ.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/s/7/qA/dKqGbjL8UPV29zMhlyBjEBnxU8k4qjtkj7UZOtT4iTSjGTvh77GmOXCUiBgbJuPQa7jJXy1T9QuFULvRuDdcWFBy53dmpY2VFpuRYBfVlMO8pmTicgroQM9w6sAN.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/G/y/DV/cLOcTHBBR1puge2pCxoSaDXnWmnwWoH2mFzAzZ8XYVuhNTlV6LW3LGb4zOu0eRnHOTgMaWNYpR6J08NgH5Glw8ptoNV9T16tLh7fW8n6xDPALisV77CwtFSf8IW7.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/F/h/ld/86EEhcLoEufSahqnay4njpbVqpBq5XkQHnS2ozEkvsIBK25xO1EYflct6pWUS7VtirTSnJ40IIbULSjqQwrjkVC1EzTeGviLlG72z16HMb3Amwho9B9xgWjxkDir.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/L/8/Bd/ZEcJa325fq0YjWUTXQG5R8eXb9RbiQBrVPcQk4G37F63geRHztnSZQLRL4gexfLOjEGJKy3P9mOhbr3hJuTHkrOKygx6FE2PKJkgo52Fk7Au9gUS1T8BwAq0eHSE.png)
![Sample image from MVTec AD](https://cdn.datasetninja.com/previews/q/ext:jpeg/resize:fill:400:0:0/q:70/plain/supervisely-supervisely-assets-public/images/original/s/P/3Y/MBclGTktniX3DFhmSLpQgI8otZqj5qevl3gZrBiQU0WgdsSQJcD23XEptdsmCAv1v7Dbgad13d5ge4uJqQe2gqRHVoBwiKXDHJjMNVVZLDEymi1nBQ26K8h7Pm2a.png)
Class balance #
There are 48 annotation classes in the dataset. Find the general statistics and balances for every class in the table below. Click any row to preview images that have labels of the selected class. Sort by column to find the most rare or prevalent classes.
Class ã…¤ | Images ã…¤ | Objects ã…¤ | Count on image average | Area on image average |
---|---|---|---|---|
colorâž” mask | 93 | 164 | 1.76 | 1.37% |
scratchâž” mask | 91 | 151 | 1.66 | 4.03% |
crackâž” mask | 84 | 92 | 1.1 | 2.62% |
combinedâž” mask | 55 | 190 | 3.45 | 4.18% |
cutâž” mask | 53 | 61 | 1.15 | 2.03% |
holeâž” mask | 45 | 68 | 1.51 | 1.64% |
contaminationâž” mask | 42 | 45 | 1.07 | 4.83% |
faulty_imprintâž” mask | 41 | 42 | 1.02 | 1.56% |
pokeâž” mask | 39 | 40 | 1.03 | 0.27% |
bentâž” mask | 37 | 71 | 1.92 | 1.73% |
Images #
Explore every single image in the dataset with respect to the number of annotations of each class it has. Click a row to preview selected image. Sort by any column to find anomalies and edge cases. Use horizontal scroll if the table has many columns for a large number of classes in the dataset.
Object distribution #
Interactive heatmap chart for every class with object distribution shows how many images are in the dataset with a certain number of objects of a specific class. Users can click cell and see the list of all corresponding images.
Class sizes #
The table below gives various size properties of objects for every class. Click a row to see the image with annotations of the selected class. Sort columns to find classes with the smallest or largest objects or understand the size differences between classes.
Class | Object count | Avg area | Max area | Min area | Min height | Min height | Max height | Max height | Avg height | Avg height | Min width | Min width | Max width | Max width |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
combined mask | 190 | 1.21% | 14.17% | 0.01% | 9px | 0.88% | 710px | 69.34% | 114px | 11.67% | 8px | 0.78% | 527px | 51.46% |
color mask | 164 | 0.78% | 6.57% | 0.01% | 9px | 1.12% | 344px | 41.43% | 82px | 9.31% | 10px | 1.25% | 448px | 64% |
scratch mask | 151 | 2.43% | 28.62% | 0.04% | 30px | 2.93% | 1024px | 100% | 204px | 22.84% | 30px | 2.93% | 828px | 80.86% |
crack mask | 92 | 2.39% | 27.66% | 0.02% | 15px | 1.5% | 840px | 100% | 278px | 30.87% | 15px | 1.46% | 840px | 100% |
thread mask | 81 | 0.55% | 4.03% | 0.01% | 13px | 1.27% | 1024px | 100% | 182px | 17.81% | 8px | 0.78% | 1024px | 100% |
bent mask | 71 | 0.9% | 3.29% | 0.03% | 12px | 1.17% | 233px | 33.29% | 104px | 12.68% | 11px | 1.57% | 262px | 37.43% |
hole mask | 68 | 1.08% | 5.64% | 0.01% | 16px | 1.56% | 1024px | 100% | 158px | 15.39% | 7px | 0.68% | 565px | 55.18% |
defective mask | 66 | 0.97% | 12.98% | 0.03% | 12px | 1.17% | 500px | 48.83% | 115px | 11.25% | 10px | 0.98% | 465px | 45.41% |
print mask | 65 | 0.69% | 4.83% | 0% | 6px | 0.59% | 391px | 38.18% | 94px | 9.22% | 4px | 0.39% | 393px | 38.38% |
cut mask | 61 | 1.76% | 8.02% | 0.04% | 29px | 2.83% | 638px | 62.3% | 194px | 18.97% | 29px | 2.83% | 334px | 32.62% |
Spatial Heatmap #
The heatmaps below give the spatial distributions of all objects for every class. These visualizations provide insights into the most probable and rare object locations on the image. It helps analyze objects' placements in a dataset.
![Spatial Heatmap](https://cdn.datasetninja.com/github/dataset-ninja/mvtec-AD/main/stats/classes_heatmaps.png)
Objects #
Table contains all 1888 objects. Click a row to preview an image with annotations, and use search or pagination to navigate. Sort columns to find outliers in the dataset.
Object ID ã…¤ | Class ã…¤ | Image name click row to open | Image size height x width | Height ã…¤ | Height ã…¤ | Width ã…¤ | Width ã…¤ | Area ã…¤ |
---|---|---|---|---|---|---|---|---|
1âž” | faulty_imprint mask | capsule_faulty_imprint_013.png | 1000 x 1000 | 107px | 10.7% | 99px | 9.9% | 0.31% |
2âž” | defective mask | toothbrush_defective_002.png | 1024 x 1024 | 63px | 6.15% | 52px | 5.08% | 0.21% |
3âž” | defective mask | toothbrush_defective_002.png | 1024 x 1024 | 143px | 13.96% | 130px | 12.7% | 0.62% |
4âž” | defective mask | toothbrush_defective_002.png | 1024 x 1024 | 83px | 8.11% | 35px | 3.42% | 0.1% |
5âž” | defective mask | toothbrush_defective_002.png | 1024 x 1024 | 57px | 5.57% | 47px | 4.59% | 0.05% |
6âž” | contamination mask | pill_contamination_013.png | 800 x 800 | 80px | 10% | 94px | 11.75% | 0.76% |
7âž” | broken_teeth mask | zipper_broken_teeth_014.png | 1024 x 1024 | 153px | 14.94% | 131px | 12.79% | 1.23% |
8âž” | poke mask | leather_poke_016.png | 1024 x 1024 | 75px | 7.32% | 64px | 6.25% | 0.27% |
9âž” | metal_contamination mask | grid_metal_contamination_006.png | 1024 x 1024 | 106px | 10.35% | 59px | 5.76% | 0.27% |
10âž” | metal_contamination mask | grid_metal_contamination_006.png | 1024 x 1024 | 40px | 3.91% | 15px | 1.46% | 0.03% |
License #
MVTec AD: the MVTec Anomaly Detection is under CC BY-NC-SA 4.0 license.
Citation #
If you make use of the MVTec AD data, please cite the following reference:
Bergmann, P., Batzner, K., Fauser, M. et al.
The MVTec Anomaly Detection Dataset: A Comprehensive Real-World Dataset for Unsupervised Anomaly Detection.
Int J Comput Vis 129, 1038–1059 (2021).
https://doi.org/10.1007/s11263-020-01400-4
If you are happy with Dataset Ninja and use provided visualizations and tools in your work, please cite us:
@misc{ visualization-tools-for-mvtec-ad-dataset,
title = { Visualization Tools for MVTec AD Dataset },
type = { Computer Vision Tools },
author = { Dataset Ninja },
howpublished = { \url{ https://datasetninja.com/mvtec-ad } },
url = { https://datasetninja.com/mvtec-ad },
journal = { Dataset Ninja },
publisher = { Dataset Ninja },
year = { 2024 },
month = { sep },
note = { visited on 2024-09-08 },
}
Download #
Dataset MVTec AD can be downloaded in Supervisely format:
As an alternative, it can be downloaded with dataset-tools package:
pip install --upgrade dataset-tools
… using following python code:
import dataset_tools as dtools
dtools.download(dataset='MVTec AD', dst_dir='~/dataset-ninja/')
Make sure not to overlook the python code example available on the Supervisely Developer Portal. It will give you a clear idea of how to effortlessly work with the downloaded dataset.
The data in original format can be downloaded here.
Disclaimer #
Our gal from the legal dep told us we need to post this:
Dataset Ninja provides visualizations and statistics for some datasets that can be found online and can be downloaded by general audience. Dataset Ninja is not a dataset hosting platform and can only be used for informational purposes. The platform does not claim any rights for the original content, including images, videos, annotations and descriptions. Joint publishing is prohibited.
You take full responsibility when you use datasets presented at Dataset Ninja, as well as other information, including visualizations and statistics we provide. You are in charge of compliance with any dataset license and all other permissions. You are required to navigate datasets homepage and make sure that you can use it. In case of any questions, get in touch with us at hello@datasetninja.com.