I am trying to use your library to detect some temporal gestures. I decided that a good way to extract features from a temporal sign is using the information from the FFT and the FFTFeatures. After trying to use it I realized that there might be something wrong with the FFTFeatures.cpp class. As it's stated here the last feature that the FFFeatures should return should be The top N frequency values. Instead, the function is returning the bottom N frequency values. After digging into the code I realized the the error is in the file grt/GRT/FeatureExtractionModules/FFT/FFTFeatures.cpp, at the line 28, where there's the following method defined:
Hi Nick!
I am trying to use your library to detect some temporal gestures. I decided that a good way to extract features from a temporal sign is using the information from the FFT and the FFTFeatures. After trying to use it I realized that there might be something wrong with the
FFTFeatures.cpp
class. As it's stated here the last feature that the FFFeatures should return should beThe top N frequency values
. Instead, the function is returning the bottom N frequency values. After digging into the code I realized the the error is in the filegrt/GRT/FeatureExtractionModules/FFT/FFTFeatures.cpp
, at theline 28
, where there's the following method defined:And it should be like this:
Thanks!
Michel