I cannot deploy my matlab code into Raspberry pi 4.
조회 수: 1 (최근 30일)
이전 댓글 표시
I'm having trouble deploying the matlab code to run on the Raspberry Pi 4 for my final year project. I've included screenshots of error message as well as the matlab code. Can anyone please assist me?
Thank you.
댓글 수: 0
채택된 답변
Sayan Saha
2021년 12월 29일
The error indicates that "vehicleDetectorACF" function is not supported for code-generation. What is the implementation of that function? Also, can you generate code properly on your host machine with this entry-point function?
댓글 수: 7
Sayan Saha
2022년 1월 2일
Thanks for attaching the report. I didn't realize vehicledetectoracf is a function provided by MathWorks earlier. As I mentioned the issue you are running into is that this function is not supported for code-generation. If it was it would have been mentioned in the documentation: https://www.mathworks.com/help/driving/ref/vehicledetectoracf.html
Looking further at the documentation, I see that this function returns an object of the class acfobjectdetector which is supported for code-generation as mentioned in this documentation link. https://www.mathworks.com/help/vision/ug/example-ObjectDetectionFromImages.html is the example showing how to generate code for the acfobjectdetector object.
Hope this helps and Happy New Year!
~Sayan
추가 답변 (1개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!