Download ei-cpp-export/model-parameters/model_metadata.h from luisomoreau/fomo-face-detection: direct link, hf CLI and curl.
- Browser
- Download file 8.68 kB
-
https://huggingface.co/luisomoreau/fomo-face-detection/resolve/main/ei-cpp-export/model-parameters/model_metadata.h
- Command line
-
hf download hf://luisomoreau/fomo-face-detection/ei-cpp-export/model-parameters/model_metadata.h
-
curl -L -o model_metadata.h https://huggingface.co/luisomoreau/fomo-face-detection/resolve/main/ei-cpp-export/model-parameters/model_metadata.h
8.68 kB
| /* Generated by Edge Impulse | |
| * | |
| * Permission is hereby granted, free of charge, to any person obtaining a copy | |
| * of this software and associated documentation files (the "Software"), to deal | |
| * in the Software without restriction, including without limitation the rights | |
| * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| * copies of the Software, and to permit persons to whom the Software is | |
| * furnished to do so, subject to the following conditions: | |
| * | |
| * The above copyright notice and this permission notice shall be included in | |
| * all copies or substantial portions of the Software. | |
| * | |
| * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
| * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
| * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
| * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
| * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
| * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
| * SOFTWARE. | |
| */ | |
| // These must match the enum values in TensorFlow Lite's "TfLiteType" | |
| typedef struct { | |
| uint32_t block_id; | |
| uint16_t implementation_version; | |
| int axes; | |
| float scale_axes; | |
| bool average; | |
| bool minimum; | |
| bool maximum; | |
| bool rms; | |
| bool stdev; | |
| bool skewness; | |
| bool kurtosis; | |
| } ei_dsp_config_flatten_t; | |
| typedef struct { | |
| uint32_t block_id; | |
| uint16_t implementation_version; | |
| int axes; | |
| const char * channels; | |
| } ei_dsp_config_image_t; | |
| typedef struct { | |
| uint32_t block_id; | |
| uint16_t implementation_version; | |
| int axes; | |
| int num_cepstral; | |
| float frame_length; | |
| float frame_stride; | |
| int num_filters; | |
| int fft_length; | |
| int win_size; | |
| int low_frequency; | |
| int high_frequency; | |
| float pre_cof; | |
| int pre_shift; | |
| } ei_dsp_config_mfcc_t; | |
| typedef struct { | |
| uint32_t block_id; | |
| uint16_t implementation_version; | |
| int axes; | |
| float frame_length; | |
| float frame_stride; | |
| int num_filters; | |
| int fft_length; | |
| int low_frequency; | |
| int high_frequency; | |
| int win_size; | |
| int noise_floor_db; | |
| } ei_dsp_config_mfe_t; | |
| typedef struct { | |
| uint32_t block_id; | |
| uint16_t implementation_version; | |
| int axes; | |
| float scale_axes; | |
| } ei_dsp_config_raw_t; | |
| typedef struct { | |
| uint32_t block_id; | |
| uint16_t implementation_version; | |
| int axes; | |
| float scale_axes; | |
| int input_decimation_ratio; | |
| const char * filter_type; | |
| float filter_cutoff; | |
| int filter_order; | |
| const char * analysis_type; | |
| int fft_length; | |
| int spectral_peaks_count; | |
| float spectral_peaks_threshold; | |
| const char * spectral_power_edges; | |
| bool do_log; | |
| bool do_fft_overlap; | |
| int wavelet_level; | |
| const char * wavelet; | |
| bool extra_low_freq; | |
| } ei_dsp_config_spectral_analysis_t; | |
| typedef struct { | |
| uint32_t block_id; | |
| uint16_t implementation_version; | |
| int axes; | |
| float frame_length; | |
| float frame_stride; | |
| int fft_length; | |
| int noise_floor_db; | |
| bool show_axes; | |
| } ei_dsp_config_spectrogram_t; | |
| typedef struct { | |
| uint32_t block_id; | |
| uint16_t implementation_version; | |
| int axes; | |
| float frame_length; | |
| float frame_stride; | |
| int num_filters; | |
| int fft_length; | |
| int low_frequency; | |
| int high_frequency; | |
| float pre_cof; | |
| const char * extractor; | |
| } ei_dsp_config_audio_syntiant_t; | |
| typedef struct { | |
| uint32_t block_id; | |
| uint16_t implementation_version; | |
| int axes; | |
| bool scaling; | |
| } ei_dsp_config_imu_syntiant_t; | |