Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some question regarding implementation #12

Open
bundelesneha05 opened this issue May 29, 2020 · 0 comments
Open

Some question regarding implementation #12

bundelesneha05 opened this issue May 29, 2020 · 0 comments

Comments

@bundelesneha05
Copy link

Thanks for sharing ...!!!
I have some questions with respect to implementation part of it.

  1. scale_w = 1.2 / 2 scale_h = 4 / 2 how did you select you with respect to image size?
  2. 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 ?
  3. 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.
  4. what is that calculate_stay_at_home_index functions;ity?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant