上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 105 下一页
摘要: python3.8安装opencv, pip install opencv-python cd D:\Program Files\Python38\Lib\site-packages pip install opencv-python 阅读全文
posted @ 2024-02-29 21:18 txwtech 阅读(216) 评论(0) 推荐(0) 编辑
摘要: CMD与PowerShell下,文件夹名有空格无法进入cd目录的解决办法 set-Location找不到接受实际参数“files”的位置形式参数 阅读全文
posted @ 2024-02-29 21:09 txwtech 阅读(461) 评论(0) 推荐(0) 编辑
摘要: zebra designer essentials zebra designer斑马打印机zebra ZE500导出prn--ZPL指令答应方式, 打印界面设计完成后,点击文件->打印->勾选打印至文件->点击打印 通过TCP方式连接打印机,发送prn文件的内容到打印机实现标签打印,通过代码灵活修改 阅读全文
posted @ 2024-02-28 12:01 txwtech 阅读(568) 评论(3) 推荐(0) 编辑
摘要: python opencv图像对比度增强--暗变亮 import math import numpy as np import cv2 from datetime import datetime import matplotlib.pyplot as plt from PIL import Imag 阅读全文
posted @ 2024-02-27 11:46 txwtech 阅读(929) 评论(0) 推荐(0) 编辑
摘要: AHE:全称,含义 Adaptive自动 Histogram 直方图 equalization均衡,同等化 自适应的直方图均衡AHE(Adaptive Histogram Equalization) Contrast Limiting(CL) (CLAHE) 限制对比度的自适应直方图均衡化 1.算法 阅读全文
posted @ 2024-02-27 11:12 txwtech 阅读(269) 评论(0) 推荐(0) 编辑
摘要: math.floor math函数库中的一个函数,math.floor(x)返回小于参数x的最大整数,即对浮点数向下取整。x[ ]的取值。 math例子 print("floorTest 8 : ".. math.floor(8)) 结果: 8.0 print("floorTest 8.5: ".. 阅读全文
posted @ 2024-02-27 10:38 txwtech 阅读(41) 评论(0) 推荐(0) 编辑
摘要: 对数极坐标变换: import math import numpy as np import cv2 def print_hi(str): print('hi,'+str) def print_3(str): print('hi3,'+str) def polar2(I, center, r, th 阅读全文
posted @ 2024-02-26 11:40 txwtech 阅读(68) 评论(0) 推荐(0) 编辑
摘要: import math import numpy as np import cv2 def print_hi(str): print('hi,'+str) def print_3(str): print('hi3,'+str) def polar2(I, center, r, theta=(0, 3 阅读全文
posted @ 2024-02-26 11:15 txwtech 阅读(93) 评论(0) 推荐(0) 编辑
摘要: 问题1:python3中找不到xrange的定义,vscode中提示未定义 解决:改成range,因为python3中取消了vscode 问题2:python3中map函数返回的是迭代器,因此无法用len函数,python2返回的是list,因此可用len函数 解决:直接用 [ ] 或者在外面增加一 阅读全文
posted @ 2024-02-23 15:10 txwtech 阅读(66) 评论(0) 推荐(0) 编辑
摘要: 打开anaconda (如果在pytorch环境,就先执行conda activate pytorch),参考文末 安装: pip3 install opencv-contrib-python -i https://pypi.tuna.tsinghua.edu.cn/simple 如下出现错误是网络 阅读全文
posted @ 2024-02-23 14:28 txwtech 阅读(266) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 105 下一页