lib.sedna.algorithms.reid.close_contact_estimation
¶
Module Contents¶
Classes¶
The ContactTracker object is invoked in frames where the |
- class lib.sedna.algorithms.reid.close_contact_estimation.ContactTracker(draw_top_view=False)[source]¶
Bases:
object
The ContactTracker object is invoked in frames where the target person was identified.
- compute_homography(img_shape: List[int]) None [source]¶
Calculate homography @param img_shape: List [h,w]
- create_ellipse(bbox_list: List[List[int]] = None) Tuple[List, List] [source]¶
Create ellipses for each of the generated bounding boxes. @param bbox_list:
- check_bbox_overlap(ellipse1: Tuple, ellipse2: Tuple) bool [source]¶
Check if ellipse bounding rectangles overlap or not. :param ellipse1: ellipse one :type ellipse1: tuple :param ellipse2: ellipse two :type ellipse2: tuple
- Return type:
boolean