ZoeGreenn 2015-08-26 04:46 采纳率: 0%
浏览 6082

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

  • 写回答

4条回答

  • oyljerry 2015-08-26 06:00
    关注

    你调用的index.py需要更多的参数,你没有提供。

    评论

报告相同问题?