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

Render stick figure for fall detection #565

Closed
ivelin opened this issue Feb 18, 2021 · 3 comments
Closed

Render stick figure for fall detection #565

ivelin opened this issue Feb 18, 2021 · 3 comments
Labels
wontfix This will not be worked on

Comments

@ivelin
Copy link
Contributor

ivelin commented Feb 18, 2021

Currently fall detection events are treated as object detection events in the UI and we render detection boxes for all. Since we have the actual key points in the event data, we should render the body vectors instead of boxes for better UX.

@ivelin
Copy link
Contributor Author

ivelin commented Mar 23, 2021

PWA receives timeline data in json format. For fall detection, the format looks like this.

@ivelin
Copy link
Contributor Author

ivelin commented Mar 24, 2021

- args:
    datetime: '2021-03-24T05:15:57.722352'
    id: 5906a1d5bdc14a1daadd2555b39bd0f3
    image_file_name: 20210324-051557.722352-image.jpg
    inference_meta:
      display: Object Detection
    inference_result:
    - box:
        xmax: 0.7221379280090332
        xmin: 0.5994733572006226
        ymax: 0.6744111378987631
        ymin: 0.2030420502026876
      confidence: 0.97265625
      label: person
    json_file_name: 20210324-051557.722352-inference.json
    rel_dir: detections/20210324-051557.036762
    thumbnail_file_name: 20210324-051557.722352-thumbnail.jpg
  created: 1616562957.7323406
  id: f5bd750b13a44c9a9ab282e5cf075fb3
  message: Detection Event
  priority: INFO
  source_code:
    funcName: _save_sample
    lineno: 115
    pathname: /workspace/src/ambianic/pipeline/store.py
- args:
    datetime: '2021-03-24T05:15:58.891374'
    id: 1029f2dab7e449c5ae809bcaf3eb61a1
    image_file_name: 20210324-051558.891374-image.jpg
    inference_meta:
      display: Fall Detection
    inference_result:
    - confidence: 0.869477817854208
      keypoint_corr:
        left hip:
        - 136.0
        - 126.0
        left shoulder:
        - 104.0
        - 112.0
        right hip:
        - 137.0
        - 126.0
        right shoulder:
        - 96.0
        - 113.0
      label: FALL
      leaning_angle: 70.60701706840203
    json_file_name: 20210324-051558.891374-inference.json
    rel_dir: detections/20210324-051557.051711
    thumbnail_file_name: 20210324-051558.891374-thumbnail.jpg
  created: 1616562958.9004328
  id: 5af2ca2f6c024815be26968d01b5fa31
  message: Detection Event
  priority: INFO
  source_code:
    funcName: _save_sample
    lineno: 115
    pathname: /workspace/src/ambianic/pipeline/store.py

@stale
Copy link

stale bot commented Oct 11, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Oct 11, 2021
@stale stale bot closed this as completed Apr 16, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 17, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant