zoukankan      html  css  js  c++  java
  • Opencv在linux下安装

    Opencv in Linux
    These steps have been tested for Ubuntu 10.04 but should work with other distros as well.
    包括树莓派b3,ubuntu,亲测完全可用
    1.sudo apt-get install build-essential
    2.sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
    3.sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev
     
    Getting OpenCV Source Code
     
    5.mkdir opencv
    6.cd opencv
    7.git clone https://github.com/opencv/opencv.git
    8.cd ~/opencv
    9.mkdir release
    10.cd release
    11.cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local ..
     
    12.make
    13.sudo make install
    Note Use cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr/local .. , without spaces after -D if step 2 do not work.
    Smartkeke
  • 相关阅读:
    缺失的第一个正数
    tuple用法
    整数转罗马数字
    三种时间格式的转换
    不同包的调用
    正则表达式
    lgb模板
    线性回归
    时间序列的特征
    3D聚类
  • 原文地址:https://www.cnblogs.com/smartkeke/p/6820425.html
Copyright © 2011-2022 走看看