rknn替换,板子是3568的
This commit is contained in:
@ -51,7 +51,7 @@ result = calculate_offset_from_image("your_image_path.jpg", visualize=True)
|
||||
示例 1: 仅获取偏移量(不画图)
|
||||
|
||||
```bash
|
||||
from caculate_diff2.0 import calculate_offset_from_image
|
||||
from calculate_diff2.0 import calculate_offset_from_image
|
||||
|
||||
result = calculate_offset_from_image("11.jpg", visualize=False)
|
||||
if result['success']:
|
||||
@ -63,7 +63,7 @@ else:
|
||||
示例 2: 获取偏移量并保存可视化图
|
||||
|
||||
```bash
|
||||
from caculate_diff2.0 import calculate_offset_from_image
|
||||
from calculate_diff2.0 import calculate_offset_from_image
|
||||
|
||||
result = calculate_offset_from_image("11.jpg", visualize=True)
|
||||
|
||||
@ -76,7 +76,6 @@ result = calculate_offset_from_image("11.jpg", visualize=True)
|
||||
dy_mm: 垂直偏移(毫米)
|
||||
cx: 中心点 x 坐标(像素)
|
||||
cy: 中心点 y 坐标(像素)
|
||||
<<<<<<< HEAD
|
||||
message: 错误信息或成功提示
|
||||
|
||||
##该函数返回一个包含下列字段的字典2.0:
|
||||
@ -93,6 +92,3 @@ result = calculate_offset_from_image("11.jpg", visualize=True)
|
||||
message: 错误信息或成功提示
|
||||
|
||||
|
||||
=======
|
||||
message: 错误信息或成功提示
|
||||
>>>>>>> a6505573b9361ce4ab920ddc55f4bc6d86d7dfb4
|
||||
|
||||
Reference in New Issue
Block a user