Jump to content

Comparing matches


Recommended Posts

Hi guys,

From colour pattern matching i get out some matches(position,angle,scale,score and bounding box(x,y position on each template pattern)).I would like to ask you how is it possible when u load another image and search for a new matches to compare them and get out a result or a LEDs which will flash depending on what the result is (red=not equal , green=equal).

Thnx a lot guys, any help could be useful for me :yes: .

Best Regards

Steve

Link to comment

QUOTE(stamatios @ Feb 4 2008, 04:23 PM)

This is a screen shot of my code.. I got the results but how can i compare them with the new picture...

What do you mean new picture? where are you getting the new picture from? File? Camera?

Put the case structure in a loop and put the new picture into the same buffer as the previous image.

Thats all I can say given what you have shown in your screenshot.

Try looking at some example code (Help>Find Examples> then type Vision or image from file ) to see how images are obtained from camera or file.

Neville.

Link to comment

Hi Neville,

I have it in a while loop..

The picture is from a webcam..

I create a template and then and when i search i got results (matches) out..When i load another image and search for a templates without to create a new template it search for the previous template in the new image..So i got another results which tells me that my program is working..But i dont know how to compare this two results from the first image and the second image ..

Best Regards

Stamatios

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.