Simulink face detection on raspberry pi
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponses (1)
Kaustav Bhattacharya
le 22 Déc 2020
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.
0 commentaires
Voir également
Catégories
En savoir plus sur Raspberry Pi Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!