How can I modify the "Detect and Track face" example in Simulink for acquiring video from an Android device, obtaining the apk file?
조회 수: 2 (최근 30일)
이전 댓글 표시
I've tried in this way ( attached file), but it doesn't work.
댓글 수: 2
답변 (2개)
Sruthi Yenugula
2019년 2월 22일
Hi Elisa,
Computer vision functions are used in this Simulink model, those functions depend on OpenCv library. Currently those functions cannot be deployed on Android.
"Simulink does not have enough information to determine output sizes for this block. If you think the errors below are inaccurate, try specifying types for the block inputs and/or sizes for the block outputs" and
To fix the above issue, you need to check the dynamic memory allocation for MATLAB functions setting in config set. But even after doing that you will get build error due to the above reason.
Sruthi Yenugula
2021년 3월 18일
You can use this example
https://www.mathworks.com/help/supportpkg/android/ref/detect-and-track-face-on-an-android-device.html
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!