微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 天线设计和射频技术 > Pattern Recognition(Matlab-Image Processing)

Pattern Recognition(Matlab-Image Processing)

时间:04-07 整理:3721RD 点击:
Hello dears,

I have an application in which i take the pictures from camera, then i want to compare that picture with my specified pattern/picture. I wana develop a code which recognize the camera picture/pattern.

I wrote the following code in MATLAB

I=imread('G:\pics_dsp\live\1.bmp')%read image from camera
rgb=rgb2gray(I)% convert image into grayscale
A=imread('G:\pics_dsp\\live\1a.bmp')%specified pattern
template=rgb2gray(A)%convert pattern into grayscale
cc=normxcorr2(template,rgb)%normalized cross correlation of the pattern
max(cc(:))%maximum value

if max(cc(:))=1 or near 1 then pattern is matched.

if "1a.bmp"(I) is the part of "1.bmp"(A) the pattern is matched, if "1a.bmp" is little bit changed or not the part of 1.bmp(A) the pattern is not matched.

Guidence plz.


Thx


Naveed

Hey,

First of all, you want to compare the WHOLE picture or a SPECIFIC AREA..? The former is totally unpractical and is not used for PR (pattern recognition) applications anywhere..

Now, speaking of the latter, firstly you have to identify your region of interest (for example, for iris recognition you need to detect the iris in the picture)..

So, I would be able to help you more precisely if you can give a better outline of your requirement(s)..

hey i want to develop a code which automatically detects the points in each frame in my region of interest. Say for eg i ve 1200 frames for a video file and i want my 5 points to be automatically detected in each frame or after 3frames...i hpe u got what i m trying to say....reply urgent...

Dear researcher,

I have to compare the specific pattern for hand gesture recognition. Say for example(Detection of Sign language patterns)


Thx


Regards

hi,
i want to do HMM based hand gesture recognition, what should be my feature vectors?
thnx in advance.


hi,,im working to a HUMAN DETECTION USING MATLAB...can u help me on how to use matlab for it?

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top