Unable to export gTruth from Image Labeller session

10 visualizaciones (últimos 30 días)
Peter Matthews
Peter Matthews el 21 de Nov. de 2019
Respondida: Ali Osman Gökcan el 5 de Dic. de 2022
Hi all,
I've recently encountered a very strange issue. I was labelling a series of images using the Image Labeller app of the Computer Vision Toolbox and saved the session for latter processing. When I opened the session in the app again and wanted to export the ground truth object (gTruth.mat), I got the following error:
Error using vision.internal.labeler.validation.checkLabelData
Invalid entry in label data table for Rectangle labelType. Table entries for column 'synapse_rectangles' must be M-by-4 matrices of [x, y, width, height]. Please refer to groundTruth object.
Warning: Error occurred while evaluating listener callback.
This is doubly strange, since I could export the gTruth.mat in previous (but using different images) labelling sessions. Another point that might be of use is that the labelling was done on Windows, whereas I then tried to export the gTruth of Ubuntu 18 (the session was saved into a folder shared between the two systems via Dropbox). The MATLAB version on both OS is 2019b.
I tried updating MATLAB to the latest Update 1 as well as re-installing the Computer Vision Toolbox, without success. Additionally, when I start a new session with making labels from scratch, I can save those without issues (however, I do not wish to relabel the whole image set again).
Any help on the issue would be greatly appreciated. Let me know if any further details are required.
  4 comentarios
Thomas Agervig Jensen
Thomas Agervig Jensen el 22 de En. de 2020
Editada: Thomas Agervig Jensen el 22 de En. de 2020
Got the same problem.
For some wierd reasion it works when you make a new label in the image and remove it again.
This is tho a bad fix when working on a 5 min long video, since you have to do it in every frame.. So the same prob goes for the videolabeler app
sheng
sheng el 6 de Mayo de 2020
I have encounter tha same issue, when dealing with Matlab 2019b
is there any solution for the problem/?
If some one have the answer, would you send me a link through email 380545156@qq.com?

Iniciar sesión para comentar.

Respuestas (3)

Thomas Agervig Jensen
Thomas Agervig Jensen el 22 de En. de 2020
Gues it is not the correct answer but for you guys working on single images you can fix the problem by creating a new label in the image and deleting it again. Relly hope someone will attendt to this issue to get a real fix.

Harsha Priya Daggubati
Harsha Priya Daggubati el 23 de En. de 2020
Hi,
Did you try reopening the session and export the groundtruth object in Windows itself?
  4 comentarios
Harsha Priya Daggubati
Harsha Priya Daggubati el 29 de En. de 2020
This issue is fixed in 2019b Update 4. Can you update your Matlab and check.
Thomas Agervig Jensen
Thomas Agervig Jensen el 4 de Feb. de 2020
Sorry for the confusion. I am not the creator of this question. Peter Matthews created this question and i just commented it as i got the same issue on matlab video labeler in ubuntu, i am not working on windows at all.
The update fixed the issue. Thank you very much!!
Hope the creator will attend and accept you answer.

Iniciar sesión para comentar.


Ali Osman Gökcan
Ali Osman Gökcan el 5 de Dic. de 2022
Hello. I labeled the video with Matlab2021b using image labeler, saved the session and exported the labels. However, even though I use the same matlab version on my new computer and open my saved labeler session file, I get the following error. Any help would be greatly appreciated, as I don't have time to re-tag. Thanks...
Error using vision.internal.labeler.validation.checkTimes
Number of timestamps in label data is not consistent with the data source.
Warning: Error occurred while evaluating listener callback.

Community Treasure Hunt

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

Start Hunting!

Translated by