hpc203 / license-plate-detect-recoginition-pytorch

深度学习车牌检测与识别,检测结果包含车牌矩形框和4个角点,基于pytorch框架运行

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

您好,没看懂车牌四个顶点是如何得到的

kankanjiuzou123 opened this issue · comments

您好,是如何从输出的框的坐标得出车牌四个顶点坐标的,没看懂这一步是怎么操作的,也就是下面的代码,输出的b具体是什么?
new_x1, new_y1 = b[9] - x1, b[10] - y1
new_x2, new_y2 = b[11] - x1, b[12] - y1
new_x3, new_y3 = b[7] - x1, b[8] - y1
new_x4, new_y4 = b[5] - x1, b[6] - y1