edit | blame | history | raw

Magic: The Gathering Card Detection Model

This is a fork of Yolo-v3 and Yolo-v2 for Windows and Linux by AlexeyAB for creating a custom model for My MTG card detection project.

Day ~0: Sep 6th, 2018


Uploading all the progresses on the model training for the last few days.

First batch of model training is completed, where I used ~40,000 generated images of MTG cards laid out in one of the pre-defined pattern.



After 5000 training epochs, the model got 88% validation accuracy on the generated test set.




However, there are some blind spots on the model, notably:

  • Fails to spot some of the obscured cards, where only a fraction of them are shown.
  • Fairly fragile against any glaring or light variations.
  • Cannot detect any skewed cards.

Example of bad detections:



The second and third problems should easily be solved by further augmenting the dataset with random lighting and image skew. I'll have to think more about the first problem, though.