Skip to content

Commit

Permalink
Fine-tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
PINTO0309 committed Dec 15, 2024
1 parent 9f9f707 commit a34c1cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 462_Gaze-LLE/demo/demo_yolov9_onnx_gazelle.py
Original file line number Diff line number Diff line change
Expand Up @@ -1421,8 +1421,8 @@ def calculate_centroid(heatmap: np.ndarray) -> Tuple[int, int, float]:
if score >= 0.50:
cv2.line(debug_image, (head_box.cx, head_box.cy), (cx, cy), (255, 255, 255), thickness=2, lineType=cv2.LINE_AA)
cv2.line(debug_image, (head_box.cx, head_box.cy), (cx, cy), (0, 255, 0), thickness=2, lineType=cv2.LINE_AA)
cv2.circle(debug_image, (cx, cy), 4, (255,255,255), thickness=-1, lineType=cv2.LINE_AA)
cv2.circle(debug_image, (cx, cy), 3, (0,0,255), thickness=-1, lineType=cv2.LINE_AA)
cv2.circle(debug_image, (cx, cy), 4, (255, 255, 255), thickness=-1, lineType=cv2.LINE_AA)
cv2.circle(debug_image, (cx, cy), 3, (0, 0, 255), thickness=-1, lineType=cv2.LINE_AA)

if file_paths is not None:
basename = os.path.basename(file_paths[file_paths_count])
Expand Down

0 comments on commit a34c1cc

Please sign in to comment.