c++
算法朝圣者
这个作者很懒,什么都没留下…
展开
-
QT_AI
基于c++ 的AI 推理Demo1 1 [外链图片转存失败,源站可能有防盗链机制,建议将图片保存下来直接上传(img-VpaAFJYB-1644911807304)(https://github.com/superbayes/Qt_personBody_dect/blob/main/videoPlayer/dancing2.gif)] /原创 2022-02-15 23:36:54 · 2433 阅读 · 0 评论 -
移动端轻量级模型资料汇总
目标检测模型 1,Yolo-Fastest, pth模型约1.3M 2,yoloV5n,onnx模型约7.2M 3,nanodet,ncnn模型约1.8M原创 2021-12-23 10:38:57 · 1888 阅读 · 0 评论 -
android studio 报错 Use of undeclared identifier ‘cv‘
android studio 报错 Use of undeclared identifier 'cv'问题描述解决方法 问题描述 当我在androidstudio 中使用 opencv3.4.16官方so文件时,编译发生此报错 解决方法 更改 build.gradle 文件 将 arguments '-DANDROID_STL=c++_shared’ 改为 arguments '-DANDROID_STL=gnustl_shared 可能原因猜测: opencv3.4.16 官方采用原创 2021-12-02 15:37:40 · 1429 阅读 · 0 评论 -
OpenGL显示mat图像
h: #pragma once #include <QOpenGLWidget> class MatView:public QOpenGLWidget { Q_OBJECT public: MatView(QWidget *p); ~MatView(); void paintEvent(QPaintEvent *e); }; cpp: /**************************************************************************原创 2020-10-13 07:11:00 · 837 阅读 · 0 评论 -
扑克牌图像分割
思路: 代码: #include <opencv2/opencv.hpp> #include <iostream> #include <math.h> using namespace std; using namespace cv; int main(int argc, char** argv) { char input_win[] = "input image"; char watershed_win[] = "watershed segmentation d原创 2020-08-09 22:21:36 · 323 阅读 · 0 评论 -
星云图_对象检测与测量_nanyangjx
思路: 代码: #include <opencv2/opencv.hpp> #include <iostream> #include <math.h> using namespace cv; using namespace std; int main(int argc, char** argv) { Mat src = imread("D:/gloomyfish/case6.jpg"); if (src.empty()) { printf("could n原创 2020-08-09 22:08:31 · 147 阅读 · 0 评论 -
对象提取_nanyangjx
思路: 代码: #include <opencv2/opencv.hpp> #include <iostream> #include <math.h> using namespace cv; using namespace std; Mat src, binary, dst; int main(int argc, char** argv) { src = imread("D:/gloomyfish/case3.png", IMREAD_GRAYSCALE); i原创 2020-08-09 21:42:16 · 134 阅读 · 0 评论 -
直线检测_nanyangjx
原理: 代码: #include <opencv2/opencv.hpp> #include <iostream> #include <math.h> using namespace cv; using namespace std; int max_count = 255; int threshold_value = 100; const char* output_lines = "Hough Lines"; Mat src, roiImage, dst; void原创 2020-08-09 21:13:38 · 97 阅读 · 0 评论 -
切边_nanyangjx
思路: 代码: #include <opencv2/opencv.hpp> #include <iostream> #include <math.h> using namespace cv; using namespace std; Mat src, gray_src, dst; int threshold_value = 100; int max_level = 255; const char* output_win = "Contours Result"; c原创 2020-08-09 19:58:44 · 310 阅读 · 0 评论 -
玉米图像分割计数_nanyangjx
思路: 处理过程图像记录: 代码 #include <opencv2/opencv.hpp> #include <iostream> #include <math.h> using namespace cv; using namespace std; int main(int argc, char** argv) { Mat gray_src, binary, dst; Mat src = imread("D:/gloomyfish/case4.png");原创 2020-08-09 19:16:04 · 695 阅读 · 0 评论 -
透视变换_c++_nanyangjx
透视变换_c++ 第一:处理步骤 1,读入图片 2,二值处理 3,形态学操作 4,轮廓发现 5,轮廓绘制 6,寻找与定位上下左右四条直线 7,拟合四条直线方程 8,四条直线交点 9,显示四个点坐标 10,透视变换 11,获取透视变换矩阵 第二:c++代码 #include <opencv2/opencv.hpp> #include <iostream> #include <math.h> using namespace cv; using namespace原创 2020-08-09 18:53:52 · 654 阅读 · 0 评论