How to visualize descriptor matching using opencv module in python

前端 未结 3 1459
清歌不尽
清歌不尽 2020-12-13 16:37

I am trying to use opencv with python. I wrote a descriptor (SIFT, SURF, or ORB) matching code in C++ version of opencv 2.4. I want to convert this code to opencv with pytho

3条回答
  •  一个人的身影
    2020-12-13 17:25

    As the error message says, DRAW_MATCHES_FLAGS_DEFAULT is of type 'long'. It is a constant defined by the cv2 module, not a function. Unfortunately, the function you want, 'drawMatches' only exists in OpenCV's C++ interface.

提交回复
热议问题