Skip to content

A project of exploring culture heritage objects with computer vision approches

Notifications You must be signed in to change notification settings

rudylyh/SnowVision

Repository files navigation

Introduction

SnowVision is a project of exploring the application of deep learning and computer vision techniques in traditional archeological heritage fragment recognition. It is part of the World Engraved project (http://worldengraved.org).

The aim of SnowVision is to automate the matching process between fragmentary stamped pottery sherds from the archaeological record and their appropriate complete paddle design from among the hundreds of registered design reconstructions in the corpus. Example of sherds and designs are shown as below.

Technically, our goal is to find the ground truth design of the query sherd in the design database and the corresponding location.

How to use

Requirements:

  • caffe==1.0.0
  • pcl==1.8.0
  • opencv==3.4.1
  • skimage==0.10.1

Input:

  • point cloud of query sherd in the format of xyz file (./data/split_xyz)
  • design database (./data/designs)

Output:

  • depth image of query sherd (./data/depth)
  • mask of query sherd (./data/mask)
  • extracted curve of query sherd (./data/mask)
  • matching result of query sherd (./data/match_result/xxx/final.xlsx)

Example of matching result table:

Before running:

  • Use makefile to build a xyz processing library named 'libxyz_proc.so'

    $ make

Usage example:

  • For one sherd:

    $ python main.py --xyz-dir ./data/split_xyz --xyz-name SCAN000702.xyz

  • For batch processing (all xyz files in the directory):

    $ python main.py --xyz-dir ./data/split_xyz

  • The result paths could be specified with parameters of '--depth-dir', '--curve-dir', '--mask-dir' and '--res-dir'.

Experimental result:

We use our method to match 247 raw sherds with a database of 100 designs, and get the below CMC curve. It means Y% of sherds could find the correct design in top-X matches. Each sherd takes about 5-10 mins.

Citation

@inproceedings{lu2018curve,
  title={Curve-structure segmentation from depth maps: A CNN-based approach and its application to exploring cultural heritage objects},
  author={Lu, Yuhang and Zhou, Jun and Wang, Jing and Chen, Jun and Smith, Karen and Wilder, Colin and Wang, Song},
  booktitle={Thirty-Second AAAI Conference on Artificial Intelligence},
  year={2018}
}
@incollection{zhou2019framework,
  title={A Framework for Design Identification on Heritage Objects},
  author={Zhou, Jun and Lu, Yuhang and Smith, Karen and Wilder, Colin and Wang, Song and Sagona, Paul and Torkian, Ben},
  booktitle={Proceedings of the Practice and Experience in Advanced Research Computing on Rise of the Machines (learning)},
  pages={1--8},
  year={2019}
}

About

A project of exploring culture heritage objects with computer vision approches

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published