Skip to content

A Python project to compare a large series of Prehistoric to 4th Century AD coins found in the British isles using a Siamese-CNN network

Notifications You must be signed in to change notification settings

8BitSensei/coin-comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Siamese-CNN for comparing prehistoric and early historic coins

This is a project which was part of my University of Surrey Comp Sci degree. I applied a siamese CNN model to compare extracted image features of some 7000 images scraped from the British Museum Catalogue.

Preparing the Data

  • To begin we need to scrape our image data by running BMScraper.py and then imageDownloader.py.
  • Some images might have a black background, there's enough data to justify removing them but some may be considered valuable, if so run invert.py on the coin group.
  • We apply histograms to the image data by running imageHist.py, you may choose to ignore this step or modify the histogram being used.
  • Finally the data needs to be converted to a MNIST CSV format, run mnistMaker.py.

Training the Model

  • We train two models, feature and simmillarity. Feature compares groups and Simmilarity compares two images, run siamese.py.
  • To display the results run loadResults.py

Authors

  • Charlie Tizzard - Initial work

Acknowledgments

About

A Python project to compare a large series of Prehistoric to 4th Century AD coins found in the British isles using a Siamese-CNN network

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages