stamatios Posted February 5, 2008 Report Share Posted February 5, 2008 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 . Best Regards Steve Quote Link to comment
crelf Posted February 5, 2008 Report Share Posted February 5, 2008 QUOTE(stamatios @ Feb 4 2008, 05:44 PM) From colour pattern matching i get out some matches... Please post your code here - that'll make it a lot easier to come up with answers. Quote Link to comment
stamatios Posted February 5, 2008 Author Report Share Posted February 5, 2008 This is a screen shot of my code.. I got the results but how can i compare them with the new picture... Quote Link to comment
stamatios Posted February 6, 2008 Author Report Share Posted February 6, 2008 Anyone can help me with the results plz? Quote Link to comment
Neville D Posted February 6, 2008 Report Share Posted February 6, 2008 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. Quote Link to comment
stamatios Posted February 7, 2008 Author Report Share Posted February 7, 2008 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 Quote Link to comment
stamatios Posted February 8, 2008 Author Report Share Posted February 8, 2008 I found out how to do it.. Is there any example in how to saving results in office EXCEL?So i can compare them from there.. Quote Link to comment
stamatios Posted February 8, 2008 Author Report Share Posted February 8, 2008 HEY guys, Anyone can help me plz..How can i save the data (mathces) into excel document?? Quote Link to comment
TobyD Posted February 8, 2008 Report Share Posted February 8, 2008 QUOTE(stamatios @ Feb 7 2008, 07:35 AM) Is there any example in how to saving results in office EXCEL? There is. Search the example finder for Excel. Quote Link to comment
stamatios Posted February 11, 2008 Author Report Share Posted February 11, 2008 Thx a lot Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.