摘要: import numpy as np import cv2 as cv import matplotlib.pyplot as plt # 旋转矩形 vertices=cv.boxPoints(((200,200),(90,150),-30)) # 打印四个点 print(vertices.dtyp 阅读全文
posted @ 2023-03-03 09:57 tangjunjun 阅读(48) 评论(0) 推荐(0)
摘要: import cv2 as cv import matplotlib.pyplot as plt img=cv.imread(r'C:\Users\51102\Desktop\tradition\1.jpg',0) print('img.shape=',img.shape) circles=cv.H 阅读全文
posted @ 2023-03-03 09:55 tangjunjun 阅读(70) 评论(0) 推荐(0)
摘要: 我也忘记这是什么代码了,几年前的,今天翻到发布出来 import cv2 as cv import numpy as np import matplotlib.pyplot as plt import math img = cv.imread(r'C:\Users\51102\Desktop\tra 阅读全文
posted @ 2023-03-03 09:55 tangjunjun 阅读(66) 评论(0) 推荐(0)
摘要: Bounding box regression原理简单理解: 如上图所示,绿色框为飞机的ground truth(gt),红色框为提取的foreground anchors,也就是说被分类器标记为飞机,但是红色框为位置不准确,不是我们想要的。所以要对红色框进行微调。 窗口形状用四维向量表示,中心点坐 阅读全文
posted @ 2023-03-03 09:51 tangjunjun 阅读(699) 评论(0) 推荐(0)
摘要: CoAt=Convolution + Attention 将conv与transformer以一种最优的方式结合: 在基础的计算块中,如果合并卷积与自注意力操作。 如何组织不同的计算模块来构建整个网络。 import torch import torch.nn as nn import math f 阅读全文
posted @ 2023-03-03 09:47 tangjunjun 阅读(142) 评论(0) 推荐(0)
https://rpc.cnblogs.com/metaweblog/tangjunjun