![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
OpenCV 学习笔记
Android系统攻城狮
《Android系统多媒体进阶实战》一书作者 - 专注Android/Linux系统多媒体技术,与广大开发者一起日益精进。
展开
-
【OpenCV笔记二】OpenCV调用Mac摄像头
#include #include #include using namespace cv;int main(int argc, char** argv){ VideoCapture capture(0); while(1){ Mat frame; capture >> frame; printf("Camera capture....\n");原创 2017-12-04 13:02:15 · 5664 阅读 · 1 评论 -
【OpenCV笔记一】Mac安装OpenCV环境及demo
1.安装cmake# brew install cmake2.安装OpenCV# brew tap homebrew/science# brew install opencv//opencv升级# brew upgrade opencv3.配置OpenCV环境: vi /etc/profile添加#Opencvexport OpenCV_DIR=/usr/local/Cel...原创 2017-12-02 13:16:09 · 4509 阅读 · 1 评论 -
Ubuntu安装python调用摄像头
1.安装python2.7# sudo apt-get install python-opencv 2.open_camera.py demoimport cv2;原创 2018-01-27 18:03:02 · 3198 阅读 · 0 评论 -
Mac源码安装使用OpenCV
0.编译安装之前需要下载依赖环境,请参考: Mac安装OpenCV环境及demo1.下载最新OpenCV源码2.编译安装# mkdir -p /usr/local/Cellar/opencv/3.4.0 //指定库安装目录# midir build# cd build# cmake -j8 -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PRE...原创 2018-01-19 16:55:43 · 1766 阅读 · 0 评论 -
Mac下编译OpenCV for android
1.自行下载OpenCV源码2.编译安装# mkdir build_for_android# cd build_for_android# cmake -DCMAKE_TOOLCHAIN_FILE=../platforms/android/android.toolchain.cmake \ -DANDROID_NDK=/path/android-ndk-r10e \原创 2018-01-20 13:48:15 · 1452 阅读 · 1 评论 -
Mac使用OpenCV项目步骤
1.安装配置OpenCV环境# brew install boost tbb opencv3# emacs /etc/profilePKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/Cellar/opencv/3.4.0/lib/pkgconfigexport PKG_CONFIG_PATHexport LD_LIBRARY_PATH=/usr/l...原创 2018-07-25 17:36:09 · 789 阅读 · 0 评论