simulink code for vision.PeopleDetector
显示 更早的评论
I want to implement vision.Peopledetector system object into raspberry pi to make it a standalone device.After searching I found generating C code and simulink are two options.At present I am using trial package of Matlab. can anyone help me choose which is the better option. If by simulink, can you just verify if the below code will work.And I am using this only for images not videos.
https://github.com/smart-make/opencv/blob/master/samples/cpp/peopledetect.cpp
回答(1 个)
Walter Roberson
2016-7-23
0 个投票
No, that is part of a library of code. You would need to build an unknown portion of the library and link it to the C code you wrote. At that point you should ask why not just do it all in C++. MATLAB Coder does not have raspberry pi defined as a target.
I already pointed you to an official example showing that people detector can be deployed id you work within Simulink. Simulink does have raspberry pi defined as a target.
类别
在 帮助中心 和 File Exchange 中查找有关 Computer Vision Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!