Ask Your Question

nico_lauda's profile - activity

2018-01-04 02:49:10 -0600 received badge  Famous Question (source)
2017-07-27 16:33:57 -0600 received badge  Notable Question (source)
2017-04-14 17:43:20 -0600 received badge  Popular Question (source)
2016-08-03 13:16:42 -0600 received badge  Organizer (source)
2016-08-03 13:06:30 -0600 commented question Scale-rotation-skew invariant template matching

Actually, I don't care if the arrow is symmetric, but it is important that the algorithm finds the relative rotation from the template. I've just tried the algorithm that you have suggested, but as it is, it returns -1 without a significative output. Maybe I'm not using it properly.

2016-08-03 11:56:11 -0600 received badge  Editor (source)
2016-08-03 11:54:01 -0600 commented answer Scale-rotation-skew invariant template matching

Thank you for your answer! I tried also with moments, but I get bad results. I think this happens because there are slight differences between the template and the target in the image. I can also change the target, but i need to orient the tray always in the same way.

2016-08-02 20:07:50 -0600 received badge  Student (source)
2016-08-02 16:31:17 -0600 asked a question Scale-rotation-skew invariant template matching

Hi all,

I need to find the target in an image. The target can assume whichever orientation, and can be scaled. Moreover, the image can be acquired from different camera's angulations.

Do you know if a template matching algorithm that is rotation, scale and skew invariant already exists in OpenCV? In industrial robotics applications, those kinds of algorithms already exist, and they work pretty well. Otherwise, what approach could work?

An example of the images that I would use is attached to the post.

Thanks everybody for the help.

Nicola

C:\fakepath\img13.png C:\fakepath\target.png

P.S.: I'm sorry to have edited this question different times, I know it is a little confusing.