文件导入特征进行识别后,如何显示识别到的特征点图片对应的文件名称?
kpts1 = image.load_descriptor("/1.orb")
kpts2 = image.load_descriptor("/2.orb")
kpts = img.find_keypoints(max_keypoints=150, threshold=10, scale_factor=1.2)
match1 = image.match_descriptor(kpts, kpts1, threshold=85)
if (match1.count()>10):
print(“1.orb”)
match2 = image.match_descriptor(kpts, kpts2, threshold=85)
if (match2.count()>10):
print(“2.orb”)我想让它循环识别,但是用time.sleep会造成图像跟着延迟。想不造成图像的延迟,应该怎么做呢
@mzqc 新的问题单独发帖子。附上具体的代码。