Files
x06da/script/test/test_callc_calibration.py
alexgobbo 83d83e84e7
2024-10-16 10:43:18 +02:00

22 lines
389 B
Python

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)