Metavision Designer Vibration Estimation Sample

The Analytics API can be used to estimate the frequency of vibrating objects.

The sample in <install-prefix>/share/metavision/designer/analytics/samples/metavision_vibration_estimation.py shows how to compute a frequency map (i.e. estimated frequency at each pixel) and the dominant frequency (the most common among all pixels) in the camera’s FOV.

Expected Output

Metavision Vibration Estimation sample visualizes two windows:

  • window showing all CD events and allowing to locale the required object

  • window showing the outputs of vibration estimation, such as the computed frequency map (i.e. frequency estimated per pixel) and the dominant frequency in the camera’s FOV

Expected Output from Metavision Vibration Estimation

How to start

To start the sample based on the live stream from your camera, run:

Linux

python3 /usr/share/metavision/designer/analytics/samples/metavision_vibration_estimation.py

Windows

python "C:\Program Files\Prophesee\share\metavision\designer\analytics\samples\metavision_vibration_estimation.py"

To start the sample based on recorded data, provide the full path to a RAW file (here, we use the file from Metavision Dataset):

Linux

python3 /usr/share/metavision/designer/analytics/samples/metavision_vibration_estimation.py -i monitoring_40_50hz.raw

Windows

python "C:\Program Files\Prophesee\share\metavision\designer\analytics\samples\metavision_vibration_estimation.py" -i monitoring_40_50hz.raw

To check for additional options:

Linux

python3 /usr/share/metavision/designer/analytics/samples/metavision_vibration_estimation.py -h

Windows

python "C:\Program Files\Prophesee\share\metavision\designer\analytics\samples\metavision_vibration_estimation.py" -h