How to use code completion into Eclipse with OpenCV

前端 未结 2 1023

I would like to make work the source code completion for Opencv 2.3 on Eclipse. How can i do that? Programs work fine but the completion [ctrl+space] appears: \"No default p

2条回答
  •  伪装坚强ぢ
    2020-12-19 14:17

    If you are trying to use python's opencv I've found

    from cv2.cv import *
    

    in the file site-packages/cv.py, for this case I've had to use an import of:

    import cv2.cv as cv
    
    #instead of
    
    import cv
    

    to get the code completion to work.

提交回复
热议问题