上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 74 下一页
摘要: 首先介绍下cv2.boundingRect(img)这个函数 这个函数很简单,img是一个二值图,也就是它的参数; 返回四个值,分别是x,y,w,h; 阅读全文
posted @ 2023-05-18 16:48 祥瑞哈哈哈 阅读(114) 评论(0) 推荐(0)
摘要: import cv2 import numpy as np w1=np.array([[0,1],[1,2],[3,4],[5,6],[7,8],[10,11]]) w=cv2.boundingRect(w1) print(w) (0, 1, 11, 11) 因此返回是左上角的x,y坐标和右下角的x 阅读全文
posted @ 2023-05-18 16:24 祥瑞哈哈哈 阅读(253) 评论(0) 推荐(0)
摘要: 汉字好像是一个区间呢 axisX = QCategoryAxis() axisX.append("first",0) axisX.append("0分25秒",25) axisX.append("0分50秒",50) axisX.append("1分15秒",75) axisX.setLabelsC 阅读全文
posted @ 2023-05-15 20:19 祥瑞哈哈哈 阅读(240) 评论(0) 推荐(0)
摘要: import sysfrom PyQt5.QtCore import Qt,QPointFfrom PyQt5.QtGui import (QPainter, QPen, QColor, QFont, QBrush, QLinearGradient, QGradient)from PyQt5.QtW 阅读全文
posted @ 2023-05-15 20:02 祥瑞哈哈哈 阅读(82) 评论(0) 推荐(0)
摘要: pen = QPen(QColor(0x059605)) pen.setWidth(3) lineSeries.setPen(pen) lineSeries.setPointsVisible(True) 阅读全文
posted @ 2023-05-15 17:34 祥瑞哈哈哈 阅读(510) 评论(0) 推荐(0)
摘要: chart.removeAllSeries()去掉chart内的所有折线图,因此你想重新绘制可以采用此方法去除。 阅读全文
posted @ 2023-05-15 15:29 祥瑞哈哈哈 阅读(95) 评论(0) 推荐(0)
摘要: self.label_3.setObjectName("label_3") self.gif = QMovie('icon/11.gif') self.label_3.setMovie(self.gif) self.label_3.setAttribute(False) self.label_3.s 阅读全文
posted @ 2023-05-14 17:55 祥瑞哈哈哈 阅读(27) 评论(0) 推荐(0)
摘要: 首先把视频帧导入图层 然后按shift并点击最后一帧。 按ctrl+shift+alt+s 阅读全文
posted @ 2023-05-14 17:15 祥瑞哈哈哈 阅读(68) 评论(0) 推荐(0)
摘要: "QCheckBox::indicator" "{" "background-color : rgb(40, 50, 62);" "}" "QCheckBox::indicator:Checked\n" "{\n" "color: rgb(0, 200, 176);\n" "}\n" 但是没用对号 阅读全文
posted @ 2023-05-14 12:08 祥瑞哈哈哈 阅读(37) 评论(0) 推荐(0)
摘要: img_path='icon/loginuser.png' action = QAction(self.lineEdit) action.setIcon(QtGui.QIcon(img_path)) self.lineEdit.addAction(action,QLineEdit.LeadingPo 阅读全文
posted @ 2023-05-14 11:17 祥瑞哈哈哈 阅读(140) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 74 下一页