How do I include an image labeler in my application?

4 views (last 30 days)
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)

Yukthi S
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.
  • 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
ans = 'MATLAB'
ans = 'Computer Vision Toolbox'
Hope this helps!

Walter Roberson
Walter Roberson on 8 Mar 2024
Helper apps such as Image Labler cannot be compiled.

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!