tf-lift icon indicating copy to clipboard operation
tf-lift copied to clipboard

Could you please also share the demo for feature matching using desc.h5 file? Stuck here for a long time.

Open chuanzhidong opened this issue 6 years ago • 3 comments

Could you please also share the demo for feature matching using .h5 file? I want to implement this in a transportation engineering work. But I am stuck here for a long time. I appreciate your help and would like to make more.

chuanzhidong avatar Nov 25 '18 05:11 chuanzhidong

Hi @wisemaker, you can use the kp_list_2_opencv_kp_list function available on utils/kp_tools (https://github.com/cvlab-epfl/tf-lift/blob/8990e2286425c4d58c0107931729ee3d0a250313/utils/kp_tools.py#L61) to convert the Keypoints to a opencv object and then use the cv2.drawMatches function to draw the matches.

hudsonmartins avatar Dec 13 '18 19:12 hudsonmartins

Hi @wisemaker, you can use the kp_list_2_opencv_kp_list function available on utils/kp_tools (

tf-lift/utils/kp_tools.py

Line 61 in 8990e22

def kp_list_2_opencv_kp_list(kp_list): ) to convert the Keypoints to a opencv object and then use the cv2.drawMatches function to draw the matches.

Thanks so much! I got it.

chuanzhidong avatar Dec 14 '18 21:12 chuanzhidong

hi @wisemaker @hudsonmartins can you show the code about how to use kp_list_2_opencv_kp_list with h5 file? Thank you so much!

2018hello avatar Jan 25 '19 12:01 2018hello