1 | initial version |
For the descriptor extraction you will need a vector<cv::Keypoint>
as input.
You can set a cv::KeyPoint
s size
and angle
by using the ellipse's RotatedRect
's width, height and angle. This will define the region used to compute your descriptor.
I haven't tried this myself, but I think this should work.