Skip to content

Commit

Permalink
fix (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
ternaus authored Aug 31, 2020
1 parent b731f4b commit a4e3433
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion retinaface/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.6"
__version__ = "0.0.7"
2 changes: 1 addition & 1 deletion retinaface/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@ def vis_annotations(image: np.ndarray, annotations: List[Dict[str, Any]]) -> np.
x_min = np.clip(x_min, 0, x_max - 1)
y_min = np.clip(y_min, 0, y_max - 1)

vis_image = cv2.rectangle(image, (x_min, y_min), (x_max, y_max), color=(0, 255, 0), thickness=2)
vis_image = cv2.rectangle(vis_image, (x_min, y_min), (x_max, y_max), color=(0, 255, 0), thickness=2)
return vis_image

0 comments on commit a4e3433

Please sign in to comment.