draw matched features in same image
Hi,
I have two frame sequences; C:\fakepath\image1.jpg and C:\fakepath\image2.jpg. When I use drawmatches function in opencv, it shows a window with two consecutive frames next to each other for matching.
However, I want to show feature points of frame 1(image1.jpg) plotted in red, the feature points of frame 2 (image1.jpg) plotted in blue (also plotted in the image1.jpg) and draw a line between matched points.
How can I do it in OpenCV?
Regards
You can do it manually with line and circle functions. Check the source code of drawMatches for reference.