Face-Recognition-Raspberry-Pi-64-bits icon indicating copy to clipboard operation
Face-Recognition-Raspberry-Pi-64-bits copied to clipboard

CMake Questions

Open kevinzezel opened this issue 2 years ago • 1 comments

#12

Is it possible to run ./FaceRecognition without having the models folder? In other words, somehow the models files be compiled with cmake.

kevinzezel avatar Mar 21 '22 18:03 kevinzezel

@kevinzezel,

It is possible. However, it involves (a lot off) additional coding. You need to declare a massive array of floats containing all the models' floats. It must be hard-coded initialized. This array has to be loaded instead of the model file. As you can imagine, you have to modify low-level framework code. Keep also in mind, you are still left with a lot of dynamic links to other software, like OpenCV and the ncnn framework.

Qengineering avatar Mar 22 '22 09:03 Qengineering