WenhaoWang/AnyPattern
The dataset proposed in our paper "AnyPattern: Towards In-context Image Copy Detection". Please go to Github for the code about how to use this dataset. Here, we show how to download this dataset. anypattern_v31 for letter in {a..z}; do wget https://huggingface.co/datasets/WenhaoWang/AnyPattern/resolve/main/train/anypattern_v31_part_a$letter done wget https://huggingface.co/datasets/WenhaoWang/AnyPattern/resolve/main/train/anypattern_v31_part_ba cat… See the full description on the dataset page: https://huggingface.co/datasets/WenhaoWang/AnyPattern.
The dataset proposed in our paper "AnyPattern: Towards In-context Image Copy Detection".
Please go to Github for the code about how to use this dataset.
Here, we show how to download this dataset.
anypattern_v31
for letter in {a..z}; do
wget https://huggingface.co/datasets/WenhaoWang/AnyPattern/resolve/main/train/anypattern_v31_part_a$letter
done
wget https://huggingface.co/datasets/WenhaoWang/AnyPattern/resolve/main/train/anypattern_v31_part_ba
cat anypattern_v31_part_a{a..z} anypattern_v31_part_ba > anypattern_v31.tar
tar -xvf anypattern_v31.taroriginal_images
wget https://huggingface.co/datasets/WenhaoWang/AnyPattern/resolve/main/original/train_{0..19}.zip
for z in train_*.zip; do unzip $z; done
mv images/train original_imagesreference_images
wget https://huggingface.co/datasets/WenhaoWang/AnyPattern/resolve/main/reference/references_{0..19}.zip
for z in references_*.zip; do unzip $z; done
mv images/references reference_imagesqueryk110v2test
wget https://huggingface.co/datasets/WenhaoWang/AnyPattern/resolve/main/query/query_k1_10_v2_test.tar
tar -xvf query_k1_10_v2_test.tarqueryk110v2support_select10
wget https://huggingface.co/datasets/WenhaoWang/AnyPattern/resolve/main/query/query_k1_10_v2_support_select10.tar
tar -xvf query_k1_10_v2_support_select10.tarqueryk110v2supportoriselect10
wget https://huggingface.co/datasets/WenhaoWang/AnyPattern/resolve/main/query/query_k1_10_v2_support_ori_select10.tar
tar -xvf query_k1_10_v2_support_ori_select10.tarAfter downloading and unzipping all these files, we should have such a directory:
/path/to/
anypattern_v31/
anypattern_v31/
0_0.jpg
0_1.jpg
...
original_images/
T000000.jpg
T000001.jpg
...
reference_images/
R000000.jpg
R000001.jpg
...
query_k1_10_v2_test/
...
query_k1_10_v2_support_select10/
...
query_k1_10_v2_support_ori_select10/
...Citation
@article{wang2025AnyPattern,
title={AnyPattern: Towards In-context Image Copy Detection},
author={Wang, Wenhao and Sun, Yifan and Tan, Zhentao and Yang, Yi},
booktitle={International Journal of Computer Vision},
year={2025},
}Contact
If you have any questions, feel free to contact Wenhao Wang (wangwenhao0716@gmail.com).
