Open Stypox opened 2 months ago
@Stypox Thank you for providing C++ version of this library.
If you could make the same as a github gist we will happily include the link of the same in our readme
@TheSeriousProgrammer here it is: https://gist.github.com/Stypox/2bf47017ea5361776d9c096e886e0540
Today I spent a bit of time on implementing a C++ version of this library that can run the "First iteration siamese" model using TFLite/LiteRT. I'm providing it here in case someone else needs it.
```cpp #includemain.cpp
```cpp #ifndef EMBEDDINGS_H #define EMBEDDINGS_H #includeembeddings.h
(data is from alexa_ref.json in the commit before the ResNet50 model was added)The command to generate the
test_audio_float.raw
file isarecord -D plughw:1,0 -f FLOAT_LE -c1 -r16000 -d1 test_audio_float.raw
.