- 博客(9)
- 收藏
- 关注
原创 人脸关键点特征定位
注意dlib的版本要和python的版本匹配,可以在官网下载,https://pypi.org/simple/dlib/我用的是python3.8,也可以在网盘链接中下载:链接:https://pan.baidu.com/s/1RtfFR8Sf92-QlxrU28Uv2Q提取码:qwnk。
2023-03-31 15:04:11
179
原创 python调用opencv训练好的模块进行目标预测
百度网盘链接如下:链接:https://pan.baidu.com/s/1l6c9doCnXxl13T1W6d_h-w提取码:okvh。
2023-03-24 16:39:18
183
原创 YOLO格式的txt文件转换为VOC格式的xml文件
0.博主转换完格式后会有一行<?xml version='1.0' encoding='utf-8'?>处理方式如下:1.YOLO格式的txt文件图片中第一列为数据标签文件的类别的id2.转换后的voc标签的xml文件3. 首先将此代码复制到自己的python工程路径下from xml.dom.minidom import Documentimport osimport cv2def makexml(txtPath, xmlPath, picPath): # txt所
2021-05-25 16:14:08
3261
14
原创 python-opencv-人脸识别-图像处理
用python调用opencv库中的人脸识别分类器对图像进行检测import cv2# 读取图片img = cv2.imread('./image/test6.jpg') # 输入合适的路径# 转换灰色gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)# OpenCV人脸识别分类器classifier = cv2.CascadeClassifier( 'haarcascade_frontalface_default.xml' )# 此分类器可以在网
2020-10-12 09:56:51
517
原创 数据结构-动态栈的操作
# include <stdio.h># include <malloc.h># include <stdlib.h># include <stdbool.h>typedef struct node //定义链表 { int data; struct node *pNext;}Node,*pNode;typedef struct stack //定义栈 { pNode.
2020-06-22 09:43:32
149
原创 结构体中动态建立一个数组,并进行插入、删除、排序、反转
//2020年6月15日20:43:41 # include <stdio.h># include <stdbool.h> //包含了bool函数 # include <malloc.h> //包含了malloc函数# include <stdlib.h> //包含了exit函数//定义了一个数据类型,该数据类型的名字叫做struct Arr, 该数据类型含有三个成员,分别是pBase, len, cntstruct
2020-06-21 09:20:30
2090
原创 数据结构中对链表的创建、排序、插入、删除、反转、遍历
# include <stdio.h># include <malloc.h># include <stdlib.h># include <stdbool.h>typedef struct node{int data;struct node *pNext;}Node,*pNode;pNode creat_list ();void travese_list (); bool is_empty (pNode );int length_e
2020-06-21 09:07:57
287
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人