March 19, 2022, 4:46 a.m. | /u/normaldebase

Computer Vision www.reddit.com

Hi. I have a project where, given the image of a card-game's deck, I can identify the cards seen.

Here's the code: [https://codeshare.io/BAjOJb](https://codeshare.io/BAjOJb)

The general process goes as such,

I take an image of a card-game deck, such as this:

https://preview.redd.it/resd2acxs9o81.png?width=876&format=png&auto=webp&s=d956d2cc15bc7940ff6d74a81210d98ab9a12e12

I then pick one card in my folder containing all card images of the game:

https://preview.redd.it/sne37f30t9o81.png?width=696&format=png&auto=webp&s=4776118b72030dad52e06bd23b9f5c548b41ff44

I resize the card image to be on par with the dimensions of a card in the deck's image

Then I do a …

computervision opencv python python script

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US