
opencv
smilife_
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Anaconda 搭建python3.5 开发环境
1.安装Anaconda(https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/) 2.安装PyCharm(https://www.jetbrains.com/pycharm/download/#section=windows) 3.在Anaconda Prompt中安装软件包 创建虚拟环境 conda create --name py35...原创 2019-03-30 18:38:26 · 6347 阅读 · 0 评论 -
python opencv图像匹配 matchTemplate函数
算法思路 将目标图像在源图像中滑动,计算两个相同大小图像的距离,最后根据距离最小的位置作为匹配结果 其中计算图像距离的算法有多种:TM_SQDIFF,TM_SQDIFF_NORMED等详细见opencv官网 算法很简单,只用用在图像没有发生变形的情况下 代码 import cv2 def match_image(source, template): # 选择匹配算法 match_...原创 2019-04-11 13:47:41 · 6702 阅读 · 0 评论 -
python opencv 截图
import cv2 import numpy as np from PIL import ImageGrab def capture(left, top, right, bottom): img = ImageGrab.grab(bbox=(left, top, right, bottom)) img = np.array(img.getdata(), np.uint8).r...原创 2019-04-11 14:53:12 · 3578 阅读 · 0 评论 -
ORBSLAM24Windows+读取二进制文件
这几天折腾在windows上跑通orbslam2 找到github上的ORBSLAM24Windows项目,遗憾的是这个项目是加载txt文件,速度很慢,于是我折腾了好久在此基础上进行了一些修改,可以加载bin文件,原来几分钟的加载速度,现在可以瞬间加载完,开心得飞起。 可以移步直接下载我修改后的项目 所有项目编译类型要一致:建议Release x64,每次编译时请一定注意检查 环境:win10+V...原创 2019-04-12 13:26:13 · 825 阅读 · 0 评论 -
face_recognition安装与使用
github地址:https://github.com/ageitgey/face_recognition 环境:win10,python3.5 安装face_recognition Microsoft Visual Studio 2015 (or newer) with C/C++ Compiler installed 将cmake路径[C:\Program Files\CMake\bin]添...原创 2019-04-03 13:51:40 · 2576 阅读 · 0 评论 -
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 · 26248 阅读 · 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 · 1500 阅读 · 2 评论