Clear Filters
Clear Filters

Datastore that store both pixels and rectangle bonding boxes to train model

1 view (last 30 days)
Hi everyone I want to know is there any datastore that stores both pixels and rectangle bonding boxes .As we know boxlabeldatastore store rectangle bonding boxes and pixellabeldatastore store polygon bounding boxes. So I want to know is there any that stores both of these bounding boxes in single so That I can train my faster-RCNN for object detection.Thank you

Accepted Answer

Shubham
Shubham on 18 Oct 2023
Hi ahmad,
In MATLAB, there is no specific built-in mixed-format label datastore that combines both pixel-level masks and rectangle bounding boxes. However, you can create a custom solution to handle both types of annotations together.
One possible approach is to create a custom datastore that combines the pixel-level masks and rectangle bounding boxes. You can use the imageDatastore to load the images and create a table or structure to store the corresponding pixel-level masks and rectangle bounding boxes. Then, you can iterate over the images and load the annotations, associating them with the respective images.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!