Runtime Opencv HighGui Error- “HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP”. Opencv cross compiled. Host=64bit Ubuntu 12.04. Target=ARM-Cortex-A9

前端 未结 3 877
鱼传尺愫
鱼传尺愫 2020-12-30 07:47

I am a beginner at OpenCV and trying my best to get a simple application running on an embedded platform. I cross-compiled OpenCV 2.4.4 and built it WITH_GTK=ON, WIT

3条回答
  •  有刺的猬
    2020-12-30 08:17

    Opencv highgui error

    Have to reinstall opencv using cmake

    git clone https://github.com/Itseez/opencv.git
    cd ~/opencv 
    mkdir release 
    cd release 
    cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_IPP=OFF ..
    make -j4 sudo 
    make install
    export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/site-packages
    

提交回复
热议问题