![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
smilife_
这个作者很懒,什么都没留下…
展开
-
OpenCV C++环境搭建
OpenCV下载地址 下载windows安装包比如opencv-3.4.5-vc14_vc15.exe,解压到C盘(建议) 添加系统环境变量 Path: C:\opencv\build C:\opencv\build\x64\vc14\bin 新建OpenCV工程 test.cpp #include <iostream> #include <opencv.hpp> us...原创 2019-04-12 16:22:04 · 26016 阅读 · 4 评论 -
Unity3D C#调用C++ dll并且实现两者之间的图像传输
Unity3D官方下载地址 unity3D处理图像 opencv环境配置 #include <opencv2\opencv.hpp> #define DLL_API extern "C" __declspec (dllexport) DLL_API void transferImage(int rgbInt[], int width, int height, int chann...原创 2019-04-15 22:13:47 · 1378 阅读 · 2 评论 -
C++ 调用python程序
环境:win10+VS2015+Python3.5 python代码 test_python.py def Add(a,b): return a+b C++代码 main.cpp #include <Python.h> #include <iostream> using namespace std; double testAdd(int a, double ...原创 2019-04-03 17:08:19 · 277 阅读 · 0 评论 -
unity+ndk+android+.so+apk
1. 安装NDK 解压下载后的文件夹,将文件夹路径添加到系统环境变量Path中 2. 编写文件 makeSo文件夹名称可以修改,但jni不要修改 Android.mk LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := NativeCode LOCAL_C_INCLUDES := $(LOCAL_PA...原创 2019-04-22 17:17:34 · 3083 阅读 · 1 评论 -
C++ 调用python
PYTHONPATH C:\Users\wenka\Anaconda3\envs\py35原创 2019-05-17 11:17:01 · 972 阅读 · 1 评论 -
C++ 实现多线程:生产者消费者模型
C++ 实现多线程:生产者消费者模型 #include <iostream> #include <mutex> #include <thread> #ifdef _MSC_VER #include <windows.h> // windows #else #include <unistd.h> // linux #endif // ...原创 2019-09-29 15:19:28 · 4023 阅读 · 0 评论