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

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(DTOccupant.java:373)
at com.mathworks.widgets.desk.Desktop.clientMatches(Desktop.java:6443)
at com.mathworks.widgets.desk.Desktop.getDTClient(Desktop.java:6380)
at com.mathworks.widgets.desk.Desktop.getClient(Desktop.java:815)
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?

回答 (2 件)

Bhargavi Maganuru
Bhargavi Maganuru 2020 年 7 月 12 日

4 投票

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.

2 件のコメント

Jeeva Rajan
Jeeva Rajan 2020 年 7 月 12 日
yes , it worked,Thanks, i had been struggling for 4 hours. installing java and other solutions
sudha vaiyapuri
sudha vaiyapuri 2020 年 8 月 12 日
yes, it worked. Thank you

サインインしてコメントする。

Bhargavi Maganuru
Bhargavi Maganuru 2020 年 7 月 6 日

0 投票

Hi,
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

6 件のコメント

Jeeva Rajan
Jeeva Rajan 2020 年 7 月 12 日
Error using vision.internal.labeler.tool.Layout/hideTabXCloseButton
Java exception occurred:
java.lang.ClassCastException
Warning: Error occurred while evaluating listener callback.
getting the same error,but not resolves
Bhargavi Maganuru
Bhargavi Maganuru 2020 年 7 月 12 日
Can you mention the version of MATLAB you're using and share the dataset you're using if possible?
Jeeva Rajan
Jeeva Rajan 2020 年 7 月 12 日
2020a
Jeeva Rajan
Jeeva Rajan 2020 年 7 月 12 日
even if i use imds to load the dataset, i am getting the error.i am uisng 50 images captured from webcam of size 480x640x3
Error using vision.internal.labeler.tool.Layout/hideTabXCloseButton
Java exception occurred:
java.lang.ClassCastException
Bhargavi Maganuru
Bhargavi Maganuru 2020 年 7 月 12 日
'even if i use imds to load the dataset', does imds means imageDatastore? Are you able to read images with imread ?
Jeeva Rajan
Jeeva Rajan 2020 年 7 月 12 日
yes i can read the image with imread, yes i have used imageDatastore

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

質問済み:

2020 年 6 月 29 日

コメント済み:

2020 年 8 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by