detection works
This commit is contained in:
parent
ac909f43f0
commit
a891ab14e4
|
|
@ -71,7 +71,7 @@ for chunk in stream.iter_content(chunk_size=1024):
|
||||||
cv2.circle(frame, center, 5, (0, 0, 255), -1)
|
cv2.circle(frame, center, 5, (0, 0, 255), -1)
|
||||||
|
|
||||||
# (Opcjonalnie) Wypisz pozycję
|
# (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)
|
cv2.FONT_HERSHEY_SIMPLEX, 0.6, (0, 255, 0), 2)
|
||||||
|
|
||||||
# ============================
|
# ============================
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue