![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
opencv
HxShine
这个作者很懒,什么都没留下…
展开
-
4 linux 下jni opencv的使用
1 编译安装opencv http://blog.csdn.net/qq_16949707/article/details/546020912 编写java文public class jniOpencv{ public native void sayHello(); public native String jniCanny(String src);// public nativ原创 2017-03-13 21:10:03 · 1055 阅读 · 0 评论 -
1 ubuntu下编译安装opencv2详细教程以及python调用opencv方法
一、依赖包的安装1. build-essential 软件包,为编译程序提供必需软件包的列表信息,这样软件包才知道头文件、库函数在哪里。sudo apt-get install build-essential2. 下面依赖关系主要是为了能够支持读写图片以及视频等。sudo apt-get install libgtk2.0-dev libavcodec-dev libavformat-dev l原创 2017-01-18 16:02:40 · 5037 阅读 · 0 评论 -
25 python-opencv cv2.findcontours函数
import cv2 img = cv2.imread('frame.png') gray = cv2.cvtColor(img,cv2.COLOR_BGR2GRAY) ret, binary = cv2.threshold(gray,127,255,cv2.THRESH_BINARY) contours, hierarchy = cv2.findContours(binary,cv2.原创 2017-05-04 00:14:34 · 7312 阅读 · 0 评论 -
3 opencv平滑边缘锯齿代码
#include <opencv2/highgui.hpp>#include <opencv2/imgproc.hpp>#include <iostream>using namespace cv;using namespace std;int main(int argc, const char** argv){ //Mat im = imread("D:\\software\\ope原创 2017-04-21 22:32:43 · 27490 阅读 · 10 评论 -
opencv 3 linux安装记录
1部分采取http://blog.csdn.net/daunxx/article/details/505066252出错解决办法error: ‘NppiGraphcutState’ has not been declared http://blog.csdn.net/allyli0022/article/details/62859290原创 2018-02-02 19:54:56 · 261 阅读 · 0 评论