python-opencv程序运行时遇到一个问题,求助
展开全部
zoegreen@zoegreen-Lenovo-IdeaPad-Y470:~/桌面/vacation-image-search-engine$ python index.py --dataset dataset --index index.csv
Traceback (most recent call last):
File "index.py", line 32, in <module>
features = cd.describe(image)
File "/home/zoegreen/桌面/vacation-image-search-engine/pyimagesearch/colordescriptor.py", line 41, in describe
hist = self.histogram(image, cornerMask)
File "/home/zoegreen/桌面/vacation-image-search-engine/pyimagesearch/colordescriptor.py", line 58, in histogram
hist = cv2.normalize(hist).flatten()
TypeError: Required argument 'dst' (pos 2) not found
你调用的index.py需要更多的参数,你没有提供。
调用函数参数传的不对
Traceback (most recent call last):
File "index.py", line 32, in <module>
features = cd.describe(image)
File "/home/zoegreen/桌面/vacation-image-search-engine/pyimagesearch/colordescriptor.py", line 41, in describe
hist = self.histogram(image, cornerMask)
File "/home/zoegreen/桌面/vacation-image-search-engine/pyimagesearch/colordescriptor.py", line 58, in histogram
hist = cv2.normalize(hist).flatten()
TypeError: Required argument 'dst' (pos 2) not found
你调用的index.py需要更多的参数,你没有提供。
调用函数参数传的不对
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询