ankankbhunia
commited on
Commit
•
84f2b4e
1
Parent(s):
117ec61
Update README.md
Browse files
README.md
CHANGED
@@ -1,3 +1,101 @@
|
|
1 |
-
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Looking 3D: Anomaly Detection with 2D-3D Alignment
|
2 |
+
|
3 |
+
<table>
|
4 |
+
<tr>
|
5 |
+
<strong><a href="https://openaccess.thecvf.com/content/CVPR2024/papers/Bhunia_Looking_3D_Anomaly_Detection_with_2D-3D_Alignment_CVPR_2024_paper.pdf">Looking 3D: Anomaly Detection with 2D-3D Alignment</a></strong><br>
|
6 |
+
Ankan Bhunia, Changjian Li, Hakan Bilen<br>
|
7 |
+
CVPR 2024
|
8 |
+
</tr>
|
9 |
+
</table>
|
10 |
+
|
11 |
+
[![Website](https://img.shields.io/badge/Project-Website-87CEEB)](https://groups.inf.ed.ac.uk/vico/research/Looking3D)
|
12 |
+
[![paper](https://img.shields.io/badge/arXiv-Paper-<COLOR>.svg)](https://openaccess.thecvf.com/content/CVPR2024/papers/Bhunia_Looking_3D_Anomaly_Detection_with_2D-3D_Alignment_CVPR_2024_paper.pdf)
|
13 |
+
[![dataset](https://img.shields.io/badge/Dataset-link-blue)](https://uoe-my.sharepoint.com/:f:/g/personal/s2514643_ed_ac_uk/EjURAFBBbmxHvlMvDGrKvzEBOB29U3QShVRsqekp0rha_g?e=jenLk6)
|
14 |
+
|
15 |
+
<img src=figures/title.jpg>
|
16 |
+
|
17 |
+
<hr />
|
18 |
+
|
19 |
+
## Dataset
|
20 |
+
|
21 |
+
- The `BrokenChairs180K` dataset is available for download from [here](https://uoe-my.sharepoint.com/:f:/g/personal/s2514643_ed_ac_uk/EjURAFBBbmxHvlMvDGrKvzEBOB29U3QShVRsqekp0rha_g?e=jenLk6).
|
22 |
+
- The dataset contains around 180K rendered images with 100K classified as anomaly and 80K normal.
|
23 |
+
- Each rendered query image is associated with a normal shape reference.
|
24 |
+
- Different types of abnormalities include: missing parts, broken parts, swapped components, mis-alignments.
|
25 |
+
- The query pose is unknown.
|
26 |
+
- Testing is performed on previously unseen instances.
|
27 |
+
|
28 |
+
<img src=figures/data_preview.gif>
|
29 |
+
|
30 |
+
<table>
|
31 |
+
<tr>
|
32 |
+
<td><b>filename and download link</b></td>
|
33 |
+
<td><b>folder structure</b></td>
|
34 |
+
<td><b>size (after extracting)</b></td>
|
35 |
+
<td><b>comments</b></td>
|
36 |
+
</tr>
|
37 |
+
<tr>
|
38 |
+
<td><a href="https://uoe-my.sharepoint.com/:u:/g/personal/s2514643_ed_ac_uk/EYoXrt3Ot7ZDmfUNIB9Xq3UBmX5jloND4kW35OaxxLBbTw?e=yieACI">images.zip</a></td>
|
39 |
+
<td>BrokenChairs/images/</td>
|
40 |
+
<td>21 GB</td>
|
41 |
+
<td>[1] (see below)</td>
|
42 |
+
</tr>
|
43 |
+
<tr>
|
44 |
+
<td><a href="https://uoe-my.sharepoint.com/:u:/g/personal/s2514643_ed_ac_uk/Efu7n0UgwZFKoZZzAdl_ccwByIS7af0Ds5D9wQg5SaPAyw?e=U9HtP1">annotations.zip</a></td>
|
45 |
+
<td>BrokenChairs/annotations/</td>
|
46 |
+
<td>2 GB</td>
|
47 |
+
<td>[2] (see below)</td>
|
48 |
+
</tr>
|
49 |
+
<tr>
|
50 |
+
<td><a href="https://uoe-my.sharepoint.com/:u:/g/personal/s2514643_ed_ac_uk/Eda1I8N4eTtIjsomzw2wLsMBiAUSRLmbaKt8QWYD3bGw_Q?e=WrVmeU">shapes.zip</a></td>
|
51 |
+
<td>BrokenChairs/shapes/</td>
|
52 |
+
<td>14 GB</td>
|
53 |
+
<td>[3] (see below)</td>
|
54 |
+
</tr>
|
55 |
+
<tr>
|
56 |
+
<td><a href="https://uoe-my.sharepoint.com/:u:/g/personal/s2514643_ed_ac_uk/Ee6ho7lde_BLqL6fY7V974IBPylEFznzJoNwDLI46qcD-Q?e=fmThG8">split.json</a></td>
|
57 |
+
<td>BrokenChairs/split.json</td>
|
58 |
+
<td>134 KB</td>
|
59 |
+
<td>[4] (see below)</td>
|
60 |
+
</tr>
|
61 |
+
</table>
|
62 |
+
|
63 |
+
Note:
|
64 |
+
|
65 |
+
[1]`BrokenChairs/images/`: The filenames for the images have a specifc structure. For example in the file with name `render_183_1944_2.5_300_30_3_normal.png`, `183` is the `shape_id`, `1944` is the `texture_id`, `2.5_300_30_3` contains info on camera paramters (in the format of `<radius>_<azim>_<elev>_<light-index>`).
|
66 |
+
|
67 |
+
[2]`BrokenChairs/annotations/`:`<info_*>`: It contains 2d_bbox, IoU, camera_parameters and texture_id.
|
68 |
+
`<mask_new_*>`: binary mask of the object part with the anomaly.
|
69 |
+
`<mask_old_*>`: binary mask of the object part without the anomaly (normal).
|
70 |
+
`<mask_new_*>`: segmentation mask of the chair with the anomaly.
|
71 |
+
`<mask_old_*>`: segmentation mask of the chair without the anomaly (normal).
|
72 |
+
|
73 |
+
Annotations are available for anomaly images only. For some anomaly types like missing component, ```<mask_old_*>``` is not available.
|
74 |
+
|
75 |
+
[3]`BrokenChairs/shapes/`: `<mv_images/*.png>`: grayscale multi-view image,
|
76 |
+
`<mv_images/*.json>`: json file containing intristic and extrinsic parameters of the rendered image,
|
77 |
+
`<mv_images/*.npy>`: npy file containing 2D-3D correspondence points.
|
78 |
+
`<model_id.txt>`: corresponding ShapeNet id.
|
79 |
+
|
80 |
+
Please refer to `utils/render_multiview.py` which can be used to obtain the above `<png/json/npy>` files from any given `obj/stl/glb` mesh shape.
|
81 |
+
|
82 |
+
[4]`BrokenChairs/split.json`: train/test/val split. Each set has mutually exclusive shape instances.
|
83 |
+
|
84 |
+
- Distribution of anomaly types within our dataset, categorized by salient chair parts, is shown below.
|
85 |
+
|
86 |
+
<img src=figures/part_stats.png width=600px>
|
87 |
+
|
88 |
+
|
89 |
+
|
90 |
+
## Citation
|
91 |
+
|
92 |
+
If you use the results and code for your research, please cite our paper:
|
93 |
+
|
94 |
+
```
|
95 |
+
@article{bhunia2024look3d,
|
96 |
+
title={Looking 3D: Anomaly Detection with 2D-3D Alignment},
|
97 |
+
author={Bhunia, Ankan Kumar and Li, Changjian and Bilen, Hakan},
|
98 |
+
journal={CVPR},
|
99 |
+
year={2024}
|
100 |
+
}
|
101 |
+
```
|