Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Track foot contact on treadmill

What is the best approach on tracking weather a person's left foot or right foot is currently in contact with a treadmill using a camera from behind the treadmill?

Track foot contact on treadmill

What is the best approach on tracking weather a person's left foot or right foot is currently in contact with a treadmill using a camera from behind the treadmill?

image description

Track foot contact on treadmill

What is the best approach on tracking weather a person's left foot or right foot is currently in contact with a treadmill using a camera from behind the treadmill?

image description

Here is the approach I am taking after the helpful direction. The results are average and produce some false positives. Especially when the right foot gets over into the left side of the ROI. Any tips on improving my results would be greatly appreciated.

Camera feed is 640x480 at 15 FPS

  1. Convert image to grayscale
  2. Gaussian blur the gray image with a 3x3 kernel and sigma x of 1
  3. Focusing the procession on the ROI shown bellow
  4. Using BackgroundSubtractorMOG2 in order to detect motion within the ROI (Shadow Detection: false, Learning Rate: 0.05)
  5. Opening morphology 3x3 structure, center anchor, 2 iterations on ROI.
  6. Sum non zero pixels on the left half and sum non zero on right half of ROI to determine left foot or right foot.

image description