- Go to Apps Tab in MATLAB
- Open Package App.
- Add MathWorks Products(here "MATLAB" and “Computer Vision ToolBox”).
How do I include an image labeler in my application?
4 views (last 30 days)
Show older comments
I put a function to call image labeler in matlab application.
It works normally in matlab, but when deployed through the matlab compiler, an error saying that the image labeler cannot be found appears.
Is it impossible to export an application including an image labeler? Or is there any sollution?
0 Comments
Answers (2)
Yukthi S
on 1 Mar 2024
Edited: Yukthi S
on 8 Mar 2024
Hello
I assume that you were talking about packaging an app which was already created . After creating the apps, you package them using MATLAB Compiler. This process compiles your MATLAB code and dependencies into a standalone executable.
In order to include Image Labeler, you need to add “Computer Vision Toolbox” in the dependencies.
You can use the following MATLAB command to know about the Dependencies that the program requires:
[fList,pList] = matlab.codetools.requiredFilesAndProducts('imageLabeler');
pList.Name
You can refer to the following documentation:https://www.mathworks.com/help/matlab/matlab_prog/identify-dependencies.html#:~:text=mfiles%2C%20mexfiles%5D%20%3D%20inmem-,Detailed%20Display%20of%20Program%20File%20Dependencies,-For%20a%20more
Hope this helps!
0 Comments
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!