Skip to content

Ace4896/project-sekai-thumbnail-matching-notes

Repository files navigation

Project Sekai - Thumbnail Matching Notes

Notes on extracting and matching Project Sekai card thumbnails.

Usage

In this folder are various Jupyter notebooks outlining my attempts at extracting and matching card thumbnails:

  • Thumbnail Extraction
    • character-box
      • Getting the character box from a screenshot of the character list
      • This step helps narrow down the search for thumbnails, as it filters out most of the menu controls
    • thumbnail-extraction
      • Extracting individual card thumbnails from the character list
  • Thumbnail Matching
    • orb-feature-matching
      • This approach involves computing ORB Features and performing brute-force matching of features
      • While this would be the most accurate, it's probably too slow for the usecase in mind (importing of cards from a screenshot)
      • I also haven't figured out a way to measure the "similarity" between the feature descriptors
    • hsv-histogram
      • This approach involves generating normalised colour histograms from HSV channels and comparing similarity
      • The matching speed is good, even with a linear search
      • However, the histograms are quite large, so storage may be an issue when more thumbnails are added
    • image-hashing
      • This approach involves generating image hashes from the thumbnails and comparing the distance between hashes
      • The matching speed is better than the histogram method, without a big sacrifice in accuracy
      • The hashes are just 64-bit integers, so storage is very simple

To run these notebooks:

About

Notes on extracting and matching Project Sekai card thumbnails.

Topics

Resources

Stars

Watchers

Forks