How do I include an image labeler in my application?
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?
Answers (2)
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.
- Go to Apps Tab in MATLAB
- Open Package App.
- Add MathWorks Products(here "MATLAB" and “Computer Vision ToolBox”).

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!
Walter Roberson
on 8 Mar 2024
0 votes
Helper apps such as Image Labler cannot be compiled.
Categories
Find more on Ground Truth Labeling 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!