what is the best methodology to detect playing cards?

20 visualizaciones (últimos 30 días)
philip curran
philip curran el 21 de Mzo. de 2022
Comentada: Image Analyst el 18 de Abr. de 2022
i am trying to detect the suit and value of a playing card, OCR doesn't work for this problem, however i suspect i should use the image labeller app within matlab to label the ground truth data for each card. Any ideas of where to go from here?
  3 comentarios
philip curran
philip curran el 18 de Abr. de 2022
this seems to be the most accurate method of detecting the value of each card (by creating my own language in the OCR trainer) compared to other solutions given in the responses to this post.
Image Analyst
Image Analyst el 18 de Abr. de 2022
I think using Deep Learning CNN clasification would be another option to consider if you have lots of different card face styles that you need it to work on.

Iniciar sesión para comentar.

Respuestas (2)

yanqi liu
yanqi liu el 22 de Mzo. de 2022
yes,sir,may be use hu,lbp or other feature to classify,or just use cnn to train data
  2 comentarios
philip curran
philip curran el 23 de Mzo. de 2022
please can you explain what hu and lbp are? I would like to avoid using cnn to train the data as i have a relatively low sample size of my data.
yanqi liu
yanqi liu el 24 de Mzo. de 2022
yes,sir,for example,we get lbp feature vector,such as
clc; clear all; close all;
im = rgb2gray(imread('football.jpg'));
v1 = extractLBPFeatures(im,'Upright',false);
im = imread('rice.png');
v2 = extractLBPFeatures(im,'Upright',false);
then use them to svm or bp to make classify model
if data not enough,may be use imageDataAugmenter to extend

Iniciar sesión para comentar.


Image Analyst
Image Analyst el 24 de Mzo. de 2022
You could use normalized cross correlation. See attached demo.

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by