Main Content
toStruct
Convert a trained aggregate channel features (ACF) object detector into structure
Description
returns a structure that stores the properties of the input
detectorStruct
= toStruct(acfObjectDetector
)acfObjectDetector
object in fields. The output structure contains
fields Classifier
and TrainingOptions
. Use the
structure to create an identical acfObjectDetector
object for C code
generation. You can call the toStruct
, and then pass the resulting
structure to a MATLAB function, which recreates the acfObjectDetector
object.