Getting error when using Image Labeler App, need help (R2020a)

22 views (last 30 days)
Sanjay Gupta
Sanjay Gupta on 29 Jun 2020
Commented: sudha vaiyapuri on 12 Aug 2020
Whenever I open the Image Labeler App and try to load images, I get the follwing error message:
Error using vision.internal.labeler.tool.Layout/hideTabXCloseButton
Java exception occurred:
java.lang.ClassCastException: java.lang.Character cannot be cast to java.lang.String
at com.mathworks.widgets.desk.DTOccupant.getName(
at com.mathworks.widgets.desk.Desktop.clientMatches(
at com.mathworks.widgets.desk.Desktop.getDTClient(
at com.mathworks.widgets.desk.Desktop.getClient(
Warning: Error occurred while evaluating listener callback.
Error using vision.internal.imageLabeler.tool.ImageLabelerTool/appendImage
Undefined function 'appendImage' for input arguments of type 'struct'.
How can I fix this?

Answers (2)

Bhargavi Maganuru
Bhargavi Maganuru on 12 Jul 2020
This is an existing bug in 2020a. The file names must have at least two characters or two digits. As a workaround, if the file name is 1.jpg then rename it to 01.jpg.

Bhargavi Maganuru
Bhargavi Maganuru on 6 Jul 2020
You can load unlabeled images data into Image Labeler app from a folder, images stored in datastore, or from a labeler session. Make sure that images must be readble by imread
Jeeva Rajan
Jeeva Rajan on 12 Jul 2020
yes i can read the image with imread, yes i have used imageDatastore

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!