Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
Hello Everyone ,,

I have to do image recognition program which will take an image from the user (using webcam or upload link) and matching it with a various number of images that have been stored in database. The program will give the user the BEST image that almost similar to his image .

The problem is in matching function .I don't know how to process the image to match it ?
Should I convert it to gray scale and do the segmentation?

I'm using c# . Is there an easy way to do it ?


Thank you,,
Posted
Comments
Matt T Heffron 20-Mar-13 12:51pm    
So what research have you done?
Bing give lots of hits when I searched on "matching images algorithm"
hajis 20-Mar-13 13:51pm    
I found many algorithms but I don't know how to apply them in coding.. I'm trying to use the gray scale co-occurrence matrix ..I need the steps and how to apply the Haralick features?
:(
Matt T Heffron 20-Mar-13 14:50pm    
That is a DIFFERENT question!
See my solution, below.

If you don't know how to implement an algorithm in code, then THAT is your bigger problem.
Like any programming problem:
First learn what the algorithm is doing. You need to understand it.
Next determine the data structures you will need to represent your data through all steps of the algorithm.
Then (and only then) convert the steps of the algorithm into code.

Having someone give you code that you don't understand, for an algorithm you don't understand, is not going to serve you well in the future.

This is a substantial problem. You should expect to put in substantial effort.

Go for it! and feel free to come back here with questions when you have specific difficulties with the implementation.
 
Share this answer
 
Comments
hajis 20-Mar-13 15:09pm    
I didn't say that i want the code ..
I understand most of things of that algorithm but still it is not clear for me how to implement it,

thanks for you to response
Matt T Heffron 20-Mar-13 16:18pm    
I apologize for assuming you were asking for code. (It happens on CodeProject *way too often*!)
I'd suggest you post, as a NEW QUESTION, the specific difficulty you are having.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900