How to create executable file for pretrained model Using GUI

4 次查看(过去 30 天)
Hi, i want to create a executable file for pretrained model using GUI.
I want to load a image from directory using Push Button and Display prediction on that image using Pretrained model
net = googlenet;
I = imread("peppers.png");
inputSize = net.Layers(1).InputSize;
I = imresize(I,inputSize(1:2));
label = classify(net,I);
figure
imshow(I)
title(string(label))
Can anybody help me in that
  3 个评论
hammad younas
hammad younas 2021-11-30
@Hiro I want to create GUI based Which have button to read image from directory and button make prediction and result display

请先登录,再进行评论。

回答(2 个)

yanqi liu
yanqi liu 2021-11-30
yes,sir,when use gui transfer to exe,offen use mcc,and now suggest use applicationCompiler
may be use web api to generate http server is better

Hiro Yoshino
Hiro Yoshino 2021-11-30
@hammad younas I can give you a solution.
MATLAB > App > Open App Designer
This is what you need. With that app, you can design your own GUI app that has your algorithm.
You can have a button and figure window(s). This app is also easy to use - just take a look and start designing it.
  1 个评论
Hiro Yoshino
Hiro Yoshino 2021-11-30
Note that after designing your GUI app, make sure to compile it to exe so you can use it as a stand alone app!

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by