
python
Yuuu_le
这个作者很懒,什么都没留下…
展开
-
Anaconda 彻底删除虚拟环境
Anaconda 彻底删除虚拟环境原创 2022-12-27 17:30:28 · 66327 阅读 · 17 评论 -
Python -- argparse :命令行参数解析模块
argparse原创 2022-12-20 21:03:18 · 1977 阅读 · 0 评论 -
Python--------(module) golb文件处理
(module) golbimport golb import golb以列表形式返回匹配到的文件名和目录名用法golb中传入参数为需要匹配的文件名称,*号用来占位,则满足条件的所有文件名(包括目录名)都会返回在一个列表中。实例如下假设我们的目录结构为————— images —————— 1.bmp —————— 2.bmp —————— 3.bmp —————— hhbmp #(目录) —————— 4.bmp运行以下代码file = glob('./images原创 2022-05-22 11:34:04 · 555 阅读 · 0 评论 -
图像全景拼接代码
import numpy as npimport cv2class Stitcher: #拼接函数 def stitch(self, images, ratio=0.75, reprojThresh=4.0,showMatches=False): #获取输入图片 (imageB, imageA) = images #检测A、B图片的SIFT关键特征点,并计算特征描述子 (kpsA, featuresA) = self.d原创 2022-05-07 09:25:55 · 630 阅读 · 0 评论 -
Anaconda环境中设置pip的镜像源
1. Anaconda环境中设置pip的镜像源背景:有些软件包需要使用pip安装而不能使用conda安装,但Anaconda中的pip没内国内镜像源的配置,会导致下载错误。没有使用国内镜像源而导致的pip下载错误ERROR: Could not find a version that satisfies the requirement tqdm (from versions: none)ERROR: No matching distribution found for tqdm国内常见镜像源阿原创 2022-04-21 15:04:17 · 11992 阅读 · 0 评论 -
python列表处理函数map
python map函数原创 2022-04-21 11:16:21 · 2107 阅读 · 0 评论