Clear Filters
Clear Filters

Combining Multiple Ground Truths

7 views (last 30 days)
Hamza Yerlikaya
Hamza Yerlikaya on 20 Dec 2019
Answered: Birju Patel on 20 Sep 2022
I am trying to do multiple object detection using trainXXXObjectDetector family of functions. Problem is ground truth comes from a set of video files. Video labelling app only allows a single video to be marked in each session. What is the correct procedure for combining multiple ground truth objects in to a combined ground truth object. Say I have one ground truth for objectA marked using videoA and another ground truth containing objectB with videoB how do i create a ground truth object that contains combined data for both so i can train a trainXXXObjectDetector for both objectA and objectB

Answers (1)

Birju Patel
Birju Patel on 20 Sep 2022
You don't need to combine the groundTruth objects. Use objectDetectorTrainingData to extract training data from multiple groundTruth objects. You can pass in an array of groundTruth objects into this function.

Community Treasure Hunt

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

Start Hunting!