Fix solution functions description + integrations/openvino.md cover image update (#8170)
Co-authored-by: UltralyticsAssistant <web@ultralytics.com>
This commit is contained in:
parent
52604084de
commit
78f7e475fa
4 changed files with 18 additions and 11 deletions
|
|
@ -107,7 +107,8 @@ class DistanceCalculation:
|
|||
|
||||
def calculate_centroid(self, box):
|
||||
"""
|
||||
Calculate the centroid of bounding box
|
||||
Calculate the centroid of bounding box.
|
||||
|
||||
Args:
|
||||
box (list): Bounding box data
|
||||
"""
|
||||
|
|
@ -115,7 +116,8 @@ class DistanceCalculation:
|
|||
|
||||
def calculate_distance(self, centroid1, centroid2):
|
||||
"""
|
||||
Calculate distance between two centroids
|
||||
Calculate distance between two centroids.
|
||||
|
||||
Args:
|
||||
centroid1 (point): First bounding box data
|
||||
centroid2 (point): Second bounding box data
|
||||
|
|
@ -125,7 +127,8 @@ class DistanceCalculation:
|
|||
|
||||
def start_process(self, im0, tracks):
|
||||
"""
|
||||
Calculate distance between two bounding boxes based on tracking data
|
||||
Calculate distance between two bounding boxes based on tracking data.
|
||||
|
||||
Args:
|
||||
im0 (nd array): Image
|
||||
tracks (list): List of tracks obtained from the object tracking process.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue