Datastore for bounding box label data
The boxLabelDatastore
object creates a datastore for
bounding box label data. Use this object to read labeled bounding box data for object
detection.
To read bounding box label data from a boxLabelDatastore
object,
use the read
function. This object function returns a cell array with either two or three columns.
You can create a datastore that combines the boxLabelDatastore
object
with an ImageDatastore
object using the combine
object function. Use the combined datastore to train object detectors using the training
functions such as trainYOLOv2ObjectDetector
and trainFasterRCNNObjectDetector
. You can access and manage data in the
datastore using object functions. To modify the ReadSize
property,
you can use dot notation.
creates a blds
= boxLabelDatastore(tbl1,...,tbln
)boxLabelDatastore
object from one or more tables
containing labeled bounding box data.
combine | Combine data from multiple datastores |
countEachLabel | Count occurrence of pixel or box labels |
hasdata | Determine if data is available to read from datastore |
numpartitions | Number of partitions for a datastore |
partition | Partition a label datastore |
preview | Read first row of data in datastore |
progress | Percentage of data read from a datastore |
read | Read data from a datastore |
readall | Read all data in datastore |
reset | Reset datastore to initial state |
shuffle | Return shuffled version of datastore |
subset | Create subset of datastore or file-set |
transform | Transform datastore |
isPartitionable | Determine whether datastore is partitionable |
isShuffleable | Determine whether datastore is shuffleable |