- 博客(8)
- 资源 (26)
- 收藏
- 关注
原创 cv2改变视频帧率
import cv2cap = cv2.VideoCapture(“MOT16-06-results.mp4”)width = 640ret = cap.set(3, width)height = 480ret = cap.set(4, height)fourcc = cv2.VideoWriter_fourcc(*‘mp4v’) # XVIDout = cv2.VideoWriter(‘out.mp4’, fourcc, 19.12, (width, height))i = 0while
2020-11-23 20:18:51
797
原创 python中安装包出现Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None))
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProxyError(‘Cannot connect to proxy.’, NewConnectionError(’<pip._vendor.urllib3.connection.HTTPSConnection object at 0x00000255D4FE7088>: Faile
2020-10-29 19:23:06
3565
1
原创 2020-10-12
python版opencv模板匹配首先准备两张图,一张输入图像,一张模板图像。注意模板图像尺寸要和原始图像中的模板尺寸相同。输入图像:模板图像:实现代码如下:# -- coding:utf-8 --import cv2img = cv2.imread(“image.jpg”, 0)img2 = img.copy()template = cv2.imread(“template.jpg”, 0)w, h = template.shape[::-1]# 匹配效果对比算法methods
2020-10-12 15:58:29
148
原创 机械臂手眼抓取
机械臂手眼抓取1.机械臂运动学分析:坐标系建立、正运动学分析、逆运动学分析;2.相机标定,图像坐标转成机械臂坐标系;3.stm32步进电机角度控制。实际效果视频:我在闲鱼发布了【机械臂 定点抓取资料】 复制这条消息后,打开闲鱼€sOzsYqRAjYL€后打开闲鱼...
2019-10-20 12:57:22
2315
原创 halcon手眼标定
手眼标定最简单的方法:九点标定九点标定的目的:建立Mark点的图像坐标与其在机械手坐标系下的仿射变换矩阵,利用求得的仿射变换矩阵,可以把Mark点的图像坐标转成物理坐标,进而控制机械手完成定点抓取任务。halcon九点标定算子%Mark点像素坐标area_center(SortedRegions,Area,Row,Column) %Column_robot := [275,225,17...
2019-07-09 16:17:52
3165
3
原创 Qt5.8.0调用编译好的dlib19.17
mingw530_32编译好的dlib19.17https://download.youkuaiyun.com/download/qq_35224449/11225505验证mingw530_32编译好的dlib代码https://download.youkuaiyun.com/download/qq_35224449/11225521Qt5.8.0调用编译好的dlib19.17打开Qt工程.pro设置好链接库...
2019-06-04 17:06:28
300
原创 485云台编码器
编码器说明书字符串转16进制void MainWindow::StringToHex(QString str, QByteArray &senddata) //字符串转换为十六进制数据0-F{int hexdata,lowhexdata;int hexdatalen = 0;int len = str.length();senddata.resize(len/2);c...
2019-06-03 16:27:55
837
3
test.pytest.pytest.pytest.pytest.pytest.pytest.pytest.pytest.pytest.pytest.pytest.pytest.pytest.pyte
2025-03-17
c.pthc.pthc.pthc.pthc.pthc.pthc.pthc.pthc.pthc.pthc.pthc.pthc.pt
2024-07-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人