OpenCV GTK+2.x error

前端 未结 14 2178
轮回少年
轮回少年 2020-12-03 07:16

I had installed OpenCV following these steps (). After trying to compile one examples,i got this error :

OpenCV Error: Unspecified error (The function is no         


        
14条回答
  •  生来不讨喜
    2020-12-03 08:06

    I tried several of the answers mentioned above the one that worked for me in ubuntu is mentioned in the following steps:

    1. Firstly, remove the current opencv package that is installed in your system by typing in the following command in the terminal conda remove opencv.
    2. If your python version is 3.6 or above then change it into the stable version which can be done by typing in conda install python=3.5.
    3. Later on install the opencv package again by giving the following input in terminal conda install -c menpo opencv3

提交回复
热议问题