Banner

Day 280 of 305

What’s CardVerse?

CardVerse is a machine capable of authenticating, grading, and sorting Magic: The Gathering cards with a throughput of 2 cards per minute with a total capacity of 1000 cards.

I, along with my team, developed this project as my ECE Senior Design Project.

Impact

Won a total of $7000 prize money at UMass’s ‘22-‘23 Berthiaume Innovation Challenge

UMass Business Plan Pitch 2022 $4,500 Second Place
UMass Berthiaume Innovation Challenge 2023 $1,000 Top 5 Finalist
UMass Entrepreneurship ULaunch 2022 $1,500 First Place

Goals and Motivation

Collectible card games (CCG) or Trading card games (TCG) are types of card games that combine strategic deck-building elements with features of trading cards. One of the earliest and most significant in terms of market and volume is a CCG named Magic: The Gathering.

Despite the enormous market, the industry faces several challenges:

Given these issues, it becomes crucial to have a card graded and authenticated by a human expert before buying or selling. However, the current pipeline faces challenges with a scarcity of human experts and a large number of customers. This results in an extremely time-consuming and expensive process.

This is where CardVerse comes into play.

The project has 4 primary objectives:

  1. Artifact & Defects Detection:
    • Trained a machine learning model (YOLOv8) on our custom dataset, which consisted of 500 cards evaluated by human experts.
    • The model achieved a 97% accuracy in detecting defects when tested on a separate set of cards.
  2. Authenticity Detection:
    • To determine the authenticity of a given card, we examined two aspects:
      1. Weight Test
        • Since an original MTG card typically weighs between 1.7 and 1.8 grams, the system employs a weighing scale to identify counterfeit cards early in the pipeline.
      2. Rosette Pattern / Green Dot Test
        • Designed an image processing pipeline (pattern matching & contouring) to conduct tests on the 40X zoom images of the card’s rosette pattern and the so-called green dot.
      3. Achieved a 99% accuracy in authenticating a MTG card.
  3. Grading Schema:
    • Developed a precise grading algorithm that objectively evaluates the condition and quality of the cards. The algorithm considers data points inferred from factors such as the type, number, and intensity of the defects mentioned above.
  4. Sorting Mechanism:
    • The custom-built gantry system sorts the cards based on the output directed by the grading system.

System Design and Results

1. Software Engineering

2. Machine Learning & Image Processing

Train Image
Example annotated image used in training
Defects Raw Image Defects Processed Image
Raw input image & Artifact detected output image
Fake Raw Image Fake Processed Image
Rosette Pattern Analysis (Low Density when subjected to Pattern Matching) on counterfeit card
Real Raw Image Real Processed Image
Rosette Pattern Analysis (Higher Density when subjected to Pattern Matching) on authentic card

3. Embedded Systems

PCB
Custom RP2040 based PCB w/ stepper motor breakouts

4. Component Design & Fabrication

Custom Imaging Chamber
Imaging Chamber w/ 16 LEDs
Scale Top Scale Side
Enclosure for the weighing scale, with Raspberry Pi underneath, together fitting inside the imaging chamber
Z Axis
Z-axis Mount Combining a 40x Zoom Camera, 12MP Camera, and Suction Apparatus

home