OBB Docs updates (#7512)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: Muhammad Rizwan Munawar <chr043416@gmail.com> Co-authored-by: Laughing <61612323+Laughing-q@users.noreply.github.com>
This commit is contained in:
parent
09ee982d35
commit
4dc8c406f9
25 changed files with 117 additions and 47 deletions
|
|
@ -365,7 +365,6 @@ class Annotator:
|
|||
self.tf = count_txt_size
|
||||
tl = self.tf or round(0.002 * (self.im.shape[0] + self.im.shape[1]) / 2) + 1
|
||||
tf = max(tl - 1, 1)
|
||||
gap = int(24 * tl) # gap between in_count and out_count based on line_thickness
|
||||
|
||||
# Get text size for in_count and out_count
|
||||
t_size_in = cv2.getTextSize(str(counts), 0, fontScale=tl / 2, thickness=tf)[0]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue