detection works

This commit is contained in:
tymek 2025-07-30 19:47:26 +02:00
parent ac909f43f0
commit a891ab14e4

View file

@ -71,7 +71,7 @@ for chunk in stream.iter_content(chunk_size=1024):
cv2.circle(frame, center, 5, (0, 0, 255), -1)
# (Opcjonalnie) Wypisz pozycję
cv2.putText(frame, f"X:{int(x)} Y:{int(y)}", (10, 30),
cv2.putText(frame, f"X:{int(x)} Y:{int(y)} R:{int(radius)}", (10, 30),
cv2.FONT_HERSHEY_SIMPLEX, 0.6, (0, 255, 0), 2)
# ============================