摘要:
为了方便查询, import cv2import os import numpy as np root_path = ""dir = root_path+"images"+"/"count = 0for root,dir,files in os.walk(dir): for file in file 阅读全文
摘要:
安装依赖包,运行命令 sudo apt-get install curl openssh-server ca-certificates postfix 执行完成后,出现邮件配置,选择Internet那一项(不带Smarthost的) gitlab1.png 利用清华大学的镜像https://mirr 阅读全文
摘要:
多边形逼近 # 1.先找到轮廓 img = cv2.imread('unregular.jpg', 0) _, thresh = cv2.threshold(img, 0, 255, cv2.THRESH_BINARY + cv2.THRESH_OTSU) image, contours, hier 阅读全文
摘要:
RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase. This probably means tha 阅读全文
摘要:
安装安装pytorch torchvision时候, 安装pytorch的支持库 torchvision。 pip install torchvision 报错, pip install torchvision 改为 pip3 install --no-deps torchvision 即可解决。 阅读全文
摘要:
void Attach(int c,int e,Polynomial *pRear){ Polynomial P; P=(Polynomial)malloc(sizeof(struct PolyNode)); P->coef=c; P->expon=e; P->link=NULL; (*pRear) 阅读全文
摘要:
数据结构之多项式 下面是对多项式的基本输入和输出 下面是多项式加法部分 阅读全文
摘要:
这段时间在学习机器学习所以想总结一下。 阅读全文