OPENCV
K_CodeTime
这个作者很懒,什么都没留下…
展开
-
人脸识别摄像头采集数据训练
/*交互式对话框:请选择要执行的动作 1.人脸采集: 打开摄像头,采集照片,保存训练模型 2.人脸识别: <1>打开摄像头,采集照片,预识别; <2>输入图像的路径,图像识别 输出结果: 找到匹配的对象,输出名字; 未找到匹配的对象,提示:人脸采集并保存训练模型*/ #include <iostream>#include <fstream>#include <string>#include <ve原创 2021-03-30 21:59:32 · 1091 阅读 · 1 评论 -
Python 生成带标签数据集的 CSV 文件
#!/usr/bin/python# -*- coding: UTF-8 -*-# Python 生成 CSV 文件# Python 生成 CSV 文件,可用于生成带标签的数据集 CSV 文件,标签从0开始自动升序:0,1,2,3...# 作者:huihut# 仓库:https://gist.github.com/huihut/9881c98a1d9279d4fa9dfd8475e3fe4b# 参考:https://github.com/opencv/opencv_attic/blob/mas原创 2021-03-30 21:48:23 · 936 阅读 · 0 评论 -
摄像头采集人脸数据保存
#include <opencv2/opencv.hpp>#include <vector>#include <iostream>#include <stdio.h>#include <string>#include<opencv2/objdetect/objdetect.hpp>#include<opencv2/highgui/highgui.hpp>#include<opencv2/imgproc/原创 2021-03-28 23:51:01 · 587 阅读 · 0 评论 -
Ubuntu 安装opencv_contrib模块
下载gitee官方镜像里下载新版本https://gitee.com/mirrors/opencvcd /home/git clone https://gitee.com/mirrors/opencv.gitcd opencvgit clone https://gitee.com/mirrors/opencv_contrib.git依赖安装sudo apt-get updatesudo apt-get upgradesudo apt-get install build-essentia原创 2021-03-28 22:25:41 · 1252 阅读 · 1 评论