Effacer les filtres
Effacer les filtres

How do I include an image labeler in my application?

2 vues (au cours des 30 derniers jours)
strongminsu
strongminsu le 18 Oct 2021
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?

Réponses (2)

Yukthi S
Yukthi S le 1 Mar 2024
Modifié(e) : Yukthi S le 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 le 8 Mar 2024
Helper apps such as Image Labler cannot be compiled.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by