Simulink face detection on raspberry pi
Mostra commenti meno recenti
Hi,
I'm trying to create a simulink model which uses the cascade object detector for face detection to run standalone on a Raspbery Pi.
When i try to run the model i get the error: Function TAR tried to add two files as "types_c.h".
The mathworks page for the Cascade object detector claims that it is autocodeable but requires the OpenCV libraries.
How do I go about linking the OpenCV libraries to my Raspberry Pi?
Thanks,
Matt
Risposte (1)
Kaustav Bhattacharya
il 22 Dic 2020
0 voti
This error occurs because the model name and the header file being included have the same name. When TAR tries to package the files, it attempts to add the custom include file "types_c.h", as well as a header file corresponding to the model (also "types_c.h").
To get around the issue, simply rename either the custom included file, or the model (renaming the model should be easier). If you rename the model to "types_c_model.slx", the model should run/build without issue.
Categorie
Scopri di più su Raspberry Pi Hardware in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!