what is the best methodology to detect playing cards?
13 views (last 30 days)
Show older comments
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 Comments
Image Analyst
on 18 Apr 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.
Answers (2)
yanqi liu
on 22 Mar 2022
yes,sir,may be use hu,lbp or other feature to classify,or just use cnn to train data
2 Comments
yanqi liu
on 24 Mar 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
Image Analyst
on 24 Mar 2022
You could use normalized cross correlation. See attached demo.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!