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

Answers (1)

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.

Categories

Asked:

on 23 Jul 2016

Answered:

on 23 Jul 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!