Skip to content

How about only using keypoints and no masking? #35

@stephanschulz

Description

@stephanschulz

In your current code:

  • you define a rectangle on the forehead.
  • Then use the 4 corners and do openCV optical flow keypoint tracking to get smoother tracking
  • use estimateAffine2D to rectify the tracked area.
  • Based on this rectangle you create a mask and analyze only the RGB image based on the mask.

What do you think how accurate the PPG analysis would be if i defined 1000 optical flow keypoints and got the mean RGB value from those 1000 pixel points?
The keypoint tracking ensures that we are reading the same skin pixels throughout consecutive frame. But i don't know if 1000 points is too low or if we need a continuous 2D space.

Thanks for your advice.

handRPPG.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions