怎么定义kpts可以用for循环读取出来?
-
kpts1 = image.load_descriptor("/1.orb") kpts2 = image.load_descriptor("/2.orb") kpts3 = image.load_descriptor("/3.orb") kpts4 = image.load_descriptor("/4.orb") kpts5 = image.load_descriptor("/5.orb") kpts6 = image.load_descriptor("/6.orb") kpts7 = image.load_descriptor("/7.orb") kpts8 = image.load_descriptor("/8.orb") kpts9 = image.load_descriptor("/9.orb") kpts0 = image.load_descriptor("/0.orb")
-
tpts = [tpts1, tpts2, tpts3] for t in tpts: print(t)