4 ms·
For some of the card games I am familiar with (Netrunner, MTG) there are resources online (wikis, dbs, deck builders) that have all the graphic assets. Alternat
by rocha 4y ago
For some of the card games I am familiar with (Netrunner, MTG) there are resources online (wikis, dbs, deck builders) that have all the graphic assets. Alternatively, you can scan or photograph each card in your deck, but that may be time consuming.
As for software, there are engines out there that do content-based image retrieval (CBIR) out of the box [1]. It should be possible to build something quickly in OpenCV. You may be able to get away using simple image template matching by putting a few constraints on how the camera sees each card. Something more robust can be also be build using image descriptors and approximate nearest neighbors, as in [2].
[1] https://en.wikipedia.org/wiki/List_of_CBIR_engines https://en.wikipedia.org/wiki/List_of_CBIR_engines
[2] https://blog.francium.tech/feature-detection-and-matching-with-opencv-5fd2394a590 https://blog.francium.tech/feature-detection-and-matching-wi...