trainingData from objectDete​ctorTraini​ngData

6 次查看(过去 30 天)
I am running:
trainingData = objectDetectorTrainingData(gTruth)
My gTruth file is generated from video, via the Matlab Video Labeler APP. When I run this command, I get a trainingData table and it then writes images to file from the video for each frame. My question is, can you run this command to get the trainingData table without writing the images to file? My reasoning is that I recently found a bug in some code that generate label txt files from the trainingData table. I need to go back through and run my code on the trainingData tables again but to get the trainingData tables again, i need to run the objectDetectTrainingData command. My previous images are fine so i dont need to regenerate them. I just need the trainingData table. It wouldn't be that big of a deal but my gTruth files exports roughly 20,000 images. So not only does it take forever to run the command, it eats up space during the process. So, is there any way to get the trainingData table without generating the images? Thanks in advance!

回答(1 个)

Sai Bhargav Avula
Sai Bhargav Avula 2019-7-31
In the objectDetectorTrainingData function, the WriteLocation argument is by default set to pwd and in the present release it cannot be disabled. Hence it always writes the images while creating the training data table.
  4 个评论
Derrick Bennett
Derrick Bennett 2019-8-5
Thanks again for the reply. Allocating more heap memory mad a huge improbement. thank you very much.
Hamza Afzal
Hamza Afzal 2021-1-31
Is there a way to label 1 lakh images of different vehicles with 11 categories on Image labeller app?
Because labelling 1lakh images takes too much time manually by drawing bounding boxes,
Because for further progress groundtruthdata is required.
Thankyou

请先登录,再进行评论。

Community Treasure Hunt

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

Start Hunting!

Translated by