Playing Card Detection: Which techniques to use?

조회 수: 4 (최근 30일)
ROHIT AILA
ROHIT AILA 2016년 10월 2일
댓글: ROHIT AILA 2016년 10월 6일
I am working on a project where my aim is to recognize the playing cards in a poker game. I have detected the individual cards using regionprops. Now i have an array which stores each individual card. I am trying to figure out a way to determine these cards correctly. I tried using SIFT with 52 playing cards database, but it failed terribly. Can anyone suggest a better and easier way of doing this? Also i want to know how to separate the cards in the second image(These are the cards of the player).

답변 (1개)

Harsha Phadke
Harsha Phadke 2016년 10월 6일
Hey Rohit,
You can use Normalized 2-D cross-correlation to compare the captured images and the images in a 52 playing card database. The value of normalized cross-correlation can act as the threshold for matching the captured images to the images in database. Although, you might need some image pre-processing like rotating the images before you can apply the cross-correlation.
Following link might be helpful:
  댓글 수: 1
ROHIT AILA
ROHIT AILA 2016년 10월 6일
@HarshaPhadke What do you mean by value of normalized cross-correlation? Is there some kind of score to know better matches? When i used normxcorr2, what happens is.. it matches all the suits to something on the card. But i don't know which one is a true match.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Card games에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by