How to integrate Matlab model in an app designed in android studio?

6 ビュー (過去 30 日間)
Muneeb Tahir
Muneeb Tahir 2021 年 4 月 21 日
コメント済み: Rimsha Muzaffar 2022 年 10 月 18 日
Can we design matlab model in android studio?
For example: The user interface is designed in android studio and we want to add the gender detection by face model of matlab to be working through android studio.
Working would be like ths:
We will be capturing photo from android app built in adnroid Studio and the functioning of matlab will tell if the gender is either male or female. How can i perform this? Please reply as soon as possible.

回答 (2 件)

Sutanu Maiti
Sutanu Maiti 2021 年 5 月 12 日
You can do image processing, Video processing, Audio processing, machine learning all from Simulink (without writing single lines of code in Android Studio). And that Simulink model will run as a stand alone application on your phone.
You may follow the below page to get an idea about Simulink Support package for Android Devices:
(please watch the video on that page)
Also you may refer these application examples from the same support package:
OpenCV:
Deep Learning:
Machine LEarning:

Andrea Daou
Andrea Daou 2021 年 10 月 20 日
編集済み: Andrea Daou 2021 年 10 月 20 日
Hello,
Are you working with CNN deep learning image classification models? If yes, you can convert your trained MATLAB CNN model which is a .mat file to .onnx model using https://fr.mathworks.com/matlabcentral/fileexchange/67296-deep-learning-toolbox-converter-for-onnx-model-format, more specifically exportONNXNetwork(net,filename).
Then you can convert your .onnx model to a model compatible with your Android Studio application.
Hope this can help you.
  1 件のコメント
Rimsha Muzaffar
Rimsha Muzaffar 2022 年 10 月 18 日
but how to convert convert .onnx model to a model compatible with your Android Studio application.
kindly tell me in detail.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeAndroid Devices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by