Surf as a boolean.

asked 2015-04-28 16:19:48 -0500

215 gravatar image

Hi guys..

This will include 2 questions:

1. I am at the moment with my tracking thing, and testing how well Surf is capable of redetecting lost object. Which it actually does pretty well, it forms a box in which it redetect the object. The problem is though that it sometimes doesn't detect, which leads to the program chrashing. Is is possible to create some kind of boolean which would tell one if the object is detected or not ??

2. When an object has been detected a box will be drawn based on the 4 line segment. These are though drawn from object features which has been detected, which is described as points. Is possible retract this box as a Rect or something that could be used as a mask. I tried boundingRect but it creates a Rect which is too big...??

Thanks in advance :)

edit retag flag offensive close merge delete