02 2024 档案

摘要: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 阅读(220) 评论(0) 推荐(0) 编辑
摘要:CMD与PowerShell下,文件夹名有空格无法进入cd目录的解决办法 set-Location找不到接受实际参数“files”的位置形式参数 阅读全文
posted @ 2024-02-29 21:09 txwtech 阅读(463) 评论(0) 推荐(0) 编辑
摘要:zebra designer essentials zebra designer斑马打印机zebra ZE500导出prn--ZPL指令答应方式, 打印界面设计完成后,点击文件->打印->勾选打印至文件->点击打印 通过TCP方式连接打印机,发送prn文件的内容到打印机实现标签打印,通过代码灵活修改 阅读全文
posted @ 2024-02-28 12:01 txwtech 阅读(569) 评论(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 阅读(931) 评论(0) 推荐(0) 编辑
摘要:AHE:全称,含义 Adaptive自动 Histogram 直方图 equalization均衡,同等化 自适应的直方图均衡AHE(Adaptive Histogram Equalization) Contrast Limiting(CL) (CLAHE) 限制对比度的自适应直方图均衡化 1.算法 阅读全文
posted @ 2024-02-27 11:12 txwtech 阅读(272) 评论(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 阅读(94) 评论(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) 编辑
摘要:arbitrary 任意的 homogenous - 同种类的 常见释义 英 慢 美[həˈmɑdʒənəs] 慢 adj.同种类的;同性质的;由相同成分(或部分)组成的;同 homogeneous; 例句 cn is a wealthy, homogenous, developed nation  阅读全文
posted @ 2024-02-23 13:50 txwtech 阅读(5) 评论(0) 推荐(0) 编辑
摘要:vscode python 快捷键大全 Ctrl+F5 直接执行运行程序 F5进入调试模式 1、通用 Ctrl+Shif+P , F1 打开命令面板 Ctrl+P 快速打开 Ctrl+Shift+N 打开新实例窗口 Ctrl+Shift+W 关闭窗口实例 2、基础编辑 Ctrl+X 剪切 Ctrl+ 阅读全文
posted @ 2024-02-22 09:10 txwtech 阅读(1866) 评论(0) 推荐(1) 编辑
摘要:1.下载并安装python 2.打开vsocde 3.点击扩展,输入python并安装 4.按下ctrl+shift+P,输入python:select interpreter并选择 5.选择刚安装的python路径 6. 安装代码对齐插件 https://www.cnblogs.com/txwte 阅读全文
posted @ 2024-02-22 08:58 txwtech 阅读(42) 评论(0) 推荐(0) 编辑
摘要:先安装utopep8, 快捷键:shift+alt+F 翻译 搜索 复制 阅读全文
posted @ 2024-02-22 08:49 txwtech 阅读(392) 评论(0) 推荐(0) 编辑
摘要:极坐标,属于二维坐标系统,创始人是牛顿,主要应用于数学领域。极坐标是指在平面内取一个定点O,叫极点,引一条射线Ox,叫做极轴,再选定一个长度单位和角度的正方向(通常取逆时针方向)。对于平面内任何一点M,用ρ表示线段OM的长度(有时也用r表示),θ表示从Ox到OM的角度,ρ叫做点M的极径,θ叫做点M的 阅读全文
posted @ 2024-02-21 13:23 txwtech 阅读(138) 评论(0) 推荐(0) 编辑
摘要:透视变换原理 https://blog.csdn.net/xiaoyw71/article/details/128685438 翻译 搜索 复制 阅读全文
posted @ 2024-02-21 10:02 txwtech 阅读(60) 评论(0) 推荐(0) 编辑
摘要:win7 C:\Users\Administrator\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup win10 C:\ProgramData\Microsoft\Windows\Start Menu\Programs\S 阅读全文
posted @ 2024-02-19 14:22 txwtech 阅读(80) 评论(0) 推荐(0) 编辑
摘要:<add key="AllowStartUpdate" value="false" /> true则不保持调试界面 翻译 搜索 复制 阅读全文
posted @ 2024-02-18 13:30 txwtech 阅读(5) 评论(0) 推荐(0) 编辑
摘要:台式机笔记本连接蓝牙音箱需要输入Pin码--解决方法 连接蓝牙音箱需要输入pin码? 要成功连接两个设备一般要用到PIN码和配对码。 PIN码一般是“0000”、“1111”或“1234”,配对码是当下设置并使用的,两个设备要求配对必须一致 阅读全文
posted @ 2024-02-17 21:01 txwtech 阅读(582) 评论(0) 推荐(0) 编辑
摘要:控汇(eip)EBOX-KH5000工控机 ,通电直接启动电脑。没有bIos设置,直接背面盖子4个螺丝拆开,切换跳线,挨着电源按钮的附近。 翻译 搜索 复制 阅读全文
posted @ 2024-02-08 14:47 txwtech 阅读(71) 评论(0) 推荐(0) 编辑
摘要:CTRL+G 弹出窗口 输入行号 翻译 搜索 复制 阅读全文
posted @ 2024-02-08 08:17 txwtech 阅读(33) 评论(0) 推荐(0) 编辑
摘要:python opencv仿射变化--缩放--平移--旋转 # This is a sample Python script. # Press Shift+F10 to execute it or replace it with your code. # Press Double Shift to 阅读全文
posted @ 2024-02-07 16:58 txwtech 阅读(111) 评论(0) 推荐(0) 编辑
摘要:python在图像上绘制文字-中文 simfang.ttf在c盘可以找到,复制到py的相同文件夹 """ coding=utf-8 cv2解决绘制中文乱码的问题 """ import cv2 import numpy as np from PIL import Image, ImageDraw, I 阅读全文
posted @ 2024-02-07 16:57 txwtech 阅读(409) 评论(1) 推荐(0) 编辑
摘要:对于使用矩阵相乘法计算仿射矩阵,前提是需要知道基本仿射变换步骤,即如果 (x,y)先缩放再平移,则变换后的矩阵形式为: 翻译 搜索 复制 阅读全文
posted @ 2024-02-06 13:32 txwtech 阅读(10) 评论(0) 推荐(0) 编辑
摘要:符号没有显示出来,排版问题 & gt; 和 & lt; 代表大于号&gt; 和小于号&lt; 以及其英文的全称 sy>1 翻译 搜索 复制 阅读全文
posted @ 2024-02-06 08:36 txwtech 阅读(21) 评论(0) 推荐(0) 编辑
摘要:1表示点 0表示向量 https://zhuanlan.zhihu.com/p/625678401?utm_id=0 https://blog.csdn.net/weixin_44026604/article/details/112131372 https://blog.csdn.net/qq_38 阅读全文
posted @ 2024-02-05 17:01 txwtech 阅读(20) 评论(0) 推荐(0) 编辑
摘要:python opencv读取图像矩阵加减乘除操作 # This is a sample Python script. # Press Shift+F10 to execute it or replace it with your code. # Press Double Shift to sear 阅读全文
posted @ 2024-02-05 13:37 txwtech 阅读(103) 评论(0) 推荐(0) 编辑
摘要:python numpy_ndarray NumPy(Numerical Python)是Python的一种开源的数值计算扩展。这种工具可用来存储和处理大型矩阵,比Python自身的嵌套列表(nested list structure)结构要高效的多(该结构也可以用来表示矩阵(matrix)),支持 阅读全文
posted @ 2024-02-05 08:37 txwtech 阅读(18) 评论(0) 推荐(0) 编辑
摘要:pycharm配置conda pytorch使用opencv方法 选择Conda环境 选择pytorch的python.exe 代码测试 pytorch环境调用opencv打开图像并显示 翻译 搜索 复制 阅读全文
posted @ 2024-02-04 10:00 txwtech 阅读(16) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示