Constructor. The following data structure may be passed to new():
{ # ONVIF::Media::Types::Object
Appearance => { # ONVIF::Media::Types::Appearance
Transformation => { # ONVIF::Media::Types::Transformation
Translate => ,
Scale => ,
Extension => { # ONVIF::Media::Types::TransformationExtension
},
},
Shape => { # ONVIF::Media::Types::ShapeDescriptor
BoundingBox => ,
CenterOfGravity => ,
Polygon => { # ONVIF::Media::Types::Polygon
Point => ,
},
Extension => { # ONVIF::Media::Types::ShapeDescriptorExtension
},
},
Color => { # ONVIF::Media::Types::ColorDescriptor
ColorCluster => {
Color => ,
Weight => $some_value, # float
Covariance => ,
},
Extension => { # ONVIF::Media::Types::ColorDescriptorExtension
},
},
Class => { # ONVIF::Media::Types::ClassDescriptor
ClassCandidate => {
Type => $some_value, # ClassType
Likelihood => $some_value, # float
},
Extension => { # ONVIF::Media::Types::ClassDescriptorExtension
OtherTypes => { # ONVIF::Media::Types::OtherType
Type => $some_value, # string
Likelihood => $some_value, # float
},
Extension => { # ONVIF::Media::Types::ClassDescriptorExtension2
},
},
},
Extension => { # ONVIF::Media::Types::AppearanceExtension
},
},
Behaviour => { # ONVIF::Media::Types::Behaviour
Removed => {
},
Idle => {
},
Extension => { # ONVIF::Media::Types::BehaviourExtension
},
},
Extension => { # ONVIF::Media::Types::ObjectExtension
},
},