This commit is contained in:
alexgobbo
2024-10-16 10:43:18 +02:00
parent 2c69347d7f
commit 83d83e84e7
19 changed files with 135 additions and 36 deletions
+21
View File
@@ -0,0 +1,21 @@
x1, y1 = 1678, 365
x2, y2 = 416, 1641
mx1, my1 = 210.2, -210.2
mx2, my2 = -210.2, 210.2
print cover_detection.calculate_factors(x1, y1, x2, y2, mx1, my1, mx2, my2)
x1,y1 = cover_detection.config.center_x, cover_detection.config.center_y
x2, y2 = 1678, 365
mx1, my1 = 0.0, 0.0
mx2, my2 = 210.2, -210.2
print cover_detection.calculate_factors(x1, y1, x2, y2, mx1, my1, mx2, my2)