Detection of playing cards - Methodology?

Hello,

I’m developing a solution that detects playing cards in a given real-world scene (subject to perspective and euclidean transformations) and the end result hinges on properly estimating the bounding box of any given card at any given angle.

Due to the symmetry and lack of features of the cards in use, it’s become apparent that using feature extraction alone will not provide a robust enough solution as it very easily falls victim to matching keypoints to the mirror side (of either the cards as a whole or any glyph on the card), resulting in incorrect homography (as seen in the attached pictures)

Before I attempt to do this on my own, I would like to ask if any of the more seasoned OpenCV developers have an idea of how I could pre-process the image and run detection in a way that is more conducive to obtaining good results. (no code is necessary, just the process in case you worked on something similar or otherwise have a hunch)

Many thanks



the features on that card form a line, not a plane. see how the letters and symbols are on a line?

Indeed. Is there any way I can exploit that?

the artwork on the card is insufficient. you need its outline as well.

locating and identifying cards is not a novel problem, meaning there’s been decades of people coming up with ideas and working on them. you should do literature review.

I will. Many thanks!