You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for sharing ...!!!
I have some questions with respect to implementation part of it.
scale_w = 1.2 / 2 scale_h = 4 / 2 how did you select you with respect to image size?
It looks like you are doing cv2.getperspective transform for a selected polygon points, for 6 feet person's two points you are using cv2.perspectivetransform,
pts = src = np.float32(np.array([four_points[4:]]))
warped_pt = cv2.perspectiveTransform(pts, M)[0]
But while coding you are taking three points rather two points can you specify the significance of this ?
for ten feet violations you used,
ten_feet_violations = len(np.where(dist_condensed < 10 / 6 * d_thresh)[0])
Can you convert this formula for generic distance calculation like for 1 feet , 2 feet ..etc.
what is that calculate_stay_at_home_index functions;ity?
The text was updated successfully, but these errors were encountered:
Thanks for sharing ...!!!
I have some questions with respect to implementation part of it.
pts = src = np.float32(np.array([four_points[4:]]))
warped_pt = cv2.perspectiveTransform(pts, M)[0]
But while coding you are taking three points rather two points can you specify the significance of this ?
ten_feet_violations = len(np.where(dist_condensed < 10 / 6 * d_thresh)[0])
Can you convert this formula for generic distance calculation like for 1 feet , 2 feet ..etc.
The text was updated successfully, but these errors were encountered: