refine the triangle algo
This commit is contained in:
@@ -166,7 +166,7 @@ def analyze_shot(frame, laser_point=None):
|
||||
tri = tri_result.get('data', {})
|
||||
|
||||
if tri.get('ok'):
|
||||
logger.info(f"[TRI] end {datetime.now()}")
|
||||
logger.info(f"[TRI] end {datetime.now()} — 使用三角形结果(dx={tri['dx_cm']:.2f},dy={tri['dy_cm']:.2f}cm)")
|
||||
return {
|
||||
"success": True,
|
||||
"result_img": frame,
|
||||
|
||||
Reference in New Issue
Block a user