Documentation ¶
Index ¶
- type Appearance
- type AppearanceExtension
- type AudioAnalyticsStream
- type AudioAnalyticsStreamExtension
- type AudioDescriptor
- type Behaviour
- type BehaviourExtension
- type ClassDescriptor
- type ClassDescriptorExtension
- type ClassDescriptorExtension2
- type ClassType
- type EventStream
- type EventStreamExtension
- type Frame
- type FrameExtension
- type FrameExtension2
- type LicensePlateInfo
- type Merge
- type MetadataStream
- type MetadataStreamExtension
- type MetadataStreamExtension2
- type MotionInCells
- type Object
- type ObjectExtension
- type ObjectId
- type ObjectTree
- type ObjectTreeExtension
- type ObjectType
- type OtherType
- type PTZStream
- type PTZStreamExtension
- type PlateType
- type Rename
- type ShapeDescriptor
- type ShapeDescriptorExtension
- type Split
- type StringLikelihood
- type VehicleInfo
- type VehicleType
- type VideoAnalyticsStream
- type VideoAnalyticsStreamExtension
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Appearance ¶
type Appearance struct { Transformation *tt.Transformation `xml:"Transformation,omitempty" json:"Transformation,omitempty"` Shape *ShapeDescriptor `xml:"Shape,omitempty" json:"Shape,omitempty"` Color *tt.ColorDescriptor `xml:"Color,omitempty" json:"Color,omitempty"` Class *ClassDescriptor `xml:"Class,omitempty" json:"Class,omitempty"` Extension *AppearanceExtension `xml:"Extension,omitempty" json:"Extension,omitempty"` GeoLocation *tt.GeoLocation `xml:"GeoLocation,omitempty" json:"GeoLocation,omitempty"` VehicleInfo []*VehicleInfo `xml:"VehicleInfo,omitempty" json:"VehicleInfo,omitempty"` LicensePlateInfo *LicensePlateInfo `xml:"LicensePlateInfo,omitempty" json:"LicensePlateInfo,omitempty"` HumanFace *fc.HumanFace `xml:"HumanFace,omitempty" json:"HumanFace,omitempty"` HumanBody *bd.HumanBody `xml:"HumanBody,omitempty" json:"HumanBody,omitempty"` ImageRef string `xml:"ImageRef,omitempty" json:"ImageRef,omitempty"` Image []byte `xml:"Image,omitempty" json:"Image,omitempty"` Items []string `xml:",any" json:"items,omitempty"` }
type AppearanceExtension ¶
type AudioAnalyticsStream ¶
type AudioAnalyticsStream struct { AudioDescriptor []*AudioDescriptor `xml:"AudioDescriptor,omitempty" json:"AudioDescriptor,omitempty"` Extension *AudioAnalyticsStreamExtension `xml:"Extension,omitempty" json:"Extension,omitempty"` Items []string `xml:",any" json:"items,omitempty"` }
type AudioDescriptor ¶
type AudioDescriptor struct { Items []string `xml:",any" json:"items,omitempty"` UtcTime soap.XSDDateTime `xml:"UtcTime,attr,omitempty" json:"UtcTime,omitempty"` }
type Behaviour ¶
type Behaviour struct { Removed struct { } `xml:"Removed,omitempty" json:"Removed,omitempty"` Idle struct { } `xml:"Idle,omitempty" json:"Idle,omitempty"` Extension *BehaviourExtension `xml:"Extension,omitempty" json:"Extension,omitempty"` Speed float32 `xml:"Speed,omitempty" json:"Speed,omitempty"` Items []string `xml:",any" json:"items,omitempty"` }
type BehaviourExtension ¶
type ClassDescriptor ¶
type ClassDescriptor struct { XMLName xml.Name `xml:"http://www.onvif.org/ver10/schema Class" json:"-"` ClassCandidate []struct { Type *ClassType `xml:"Type,omitempty" json:"Type,omitempty"` Likelihood float32 `xml:"Likelihood,omitempty" json:"Likelihood,omitempty"` } `xml:"ClassCandidate,omitempty" json:"ClassCandidate,omitempty"` Extension *ClassDescriptorExtension `xml:"Extension,omitempty" json:"Extension,omitempty"` // ONVIF recommends to use this 'Type' element instead of 'ClassCandidate' and 'Extension' above for new design. Acceptable values are defined in tt:ObjectType. Type []*StringLikelihood `xml:"Type,omitempty" json:"Type,omitempty"` Items []string `xml:",any" json:"items,omitempty"` }
type ClassDescriptorExtension ¶
type ClassDescriptorExtension struct { XMLName xml.Name `xml:"http://www.onvif.org/ver10/schema Extension" json:"-"` OtherTypes []*OtherType `xml:"OtherTypes,omitempty" json:"OtherTypes,omitempty"` Extension *ClassDescriptorExtension2 `xml:"Extension,omitempty" json:"Extension,omitempty"` Items []string `xml:",any" json:"items,omitempty"` }
type EventStream ¶
type EventStream struct { XMLName xml.Name `xml:"http://www.onvif.org/ver10/schema Event" json:"-"` NotificationMessage *wsnt.NotificationMessage `xml:"NotificationMessage,omitempty" json:"NotificationMessage,omitempty"` Extension *EventStreamExtension `xml:"Extension,omitempty" json:"Extension,omitempty"` }
type EventStreamExtension ¶
type Frame ¶
type Frame struct { PTZStatus *tt.PTZStatus `xml:"PTZStatus,omitempty" json:"PTZStatus,omitempty"` Transformation *tt.Transformation `xml:"Transformation,omitempty" json:"Transformation,omitempty"` Object []*Object `xml:"Object,omitempty" json:"Object,omitempty"` ObjectTree *ObjectTree `xml:"ObjectTree,omitempty" json:"ObjectTree,omitempty"` Extension *FrameExtension `xml:"Extension,omitempty" json:"Extension,omitempty"` SceneImageRef string `xml:"SceneImageRef,omitempty" json:"SceneImageRef,omitempty"` SceneImage []byte `xml:"SceneImage,omitempty" json:"SceneImage,omitempty"` Items []string `xml:",any" json:"items,omitempty"` UtcTime soap.XSDDateTime `xml:"UtcTime,attr,omitempty" json:"UtcTime,omitempty"` Colorspace string `xml:"Colorspace,attr,omitempty" json:"Colorspace,omitempty"` Source string `xml:"Source,attr,omitempty" json:"Source,omitempty"` }
type FrameExtension ¶
type FrameExtension struct { XMLName xml.Name `xml:"http://www.onvif.org/ver10/schema Extension" json:"-"` MotionInCells *MotionInCells `xml:"MotionInCells,omitempty" json:"MotionInCells,omitempty"` Extension *FrameExtension2 `xml:"Extension,omitempty" json:"Extension,omitempty"` Items []string `xml:",any" json:"items,omitempty"` }
type FrameExtension2 ¶
type LicensePlateInfo ¶
type LicensePlateInfo struct { // A string of vehicle license plate number. PlateNumber *StringLikelihood `xml:"PlateNumber,omitempty" json:"PlateNumber,omitempty"` // A description of the vehicle license plate, e.g., "Normal", "Police", "Diplomat" PlateType *StringLikelihood `xml:"PlateType,omitempty" json:"PlateType,omitempty"` // Describe the country of the license plate, in order to avoid the same license plate number. CountryCode *StringLikelihood `xml:"CountryCode,omitempty" json:"CountryCode,omitempty"` // State province or authority that issue the license plate. IssuingEntity *StringLikelihood `xml:"IssuingEntity,omitempty" json:"IssuingEntity,omitempty"` Items []string `xml:",any" json:"items,omitempty"` }
type MetadataStream ¶
type MetadataStream struct { VideoAnalytics *VideoAnalyticsStream `xml:"VideoAnalytics,omitempty" json:"VideoAnalytics,omitempty"` PTZ *PTZStream `xml:"PTZ,omitempty" json:"PTZ,omitempty"` Event *EventStream `xml:"Event,omitempty" json:"Event,omitempty"` Extension *MetadataStreamExtension `xml:"Extension,omitempty" json:"Extension,omitempty"` }
type MetadataStreamExtension ¶
type MetadataStreamExtension struct { XMLName xml.Name `xml:"http://www.onvif.org/ver10/schema Extension" json:"-"` AudioAnalyticsStream *AudioAnalyticsStream `xml:"AudioAnalyticsStream,omitempty" json:"AudioAnalyticsStream,omitempty"` Extension *MetadataStreamExtension2 `xml:"Extension,omitempty" json:"Extension,omitempty"` Items []string `xml:",any" json:"items,omitempty"` }
type MotionInCells ¶
type Object ¶
type Object struct { *ObjectId Appearance *Appearance `xml:"Appearance,omitempty" json:"Appearance,omitempty"` Behaviour *Behaviour `xml:"Behaviour,omitempty" json:"Behaviour,omitempty"` Extension *ObjectExtension `xml:"Extension,omitempty" json:"Extension,omitempty"` Parent int32 `xml:"Parent,attr,omitempty" json:"Parent,omitempty"` }
type ObjectExtension ¶
type ObjectId ¶
type ObjectId struct {
ObjectId int32 `xml:"ObjectId,attr,omitempty" json:"ObjectId,omitempty"`
}
type ObjectTree ¶
type ObjectTree struct { Rename []*Rename `xml:"Rename,omitempty" json:"Rename,omitempty"` Split []*Split `xml:"Split,omitempty" json:"Split,omitempty"` Merge []*Merge `xml:"Merge,omitempty" json:"Merge,omitempty"` Delete []*ObjectId `xml:"Delete,omitempty" json:"Delete,omitempty"` Extension *ObjectTreeExtension `xml:"Extension,omitempty" json:"Extension,omitempty"` Items []string `xml:",any" json:"items,omitempty"` }
type ObjectTreeExtension ¶
type ObjectType ¶
type ObjectType string
const ( ObjectTypeAnimal ObjectType = "Animal" ObjectTypeHumanFace ObjectType = "HumanFace" ObjectTypeHuman ObjectType = "Human" ObjectTypeBicycle ObjectType = "Bicycle" ObjectTypeVehicle ObjectType = "Vehicle" ObjectTypeLicensePlate ObjectType = "LicensePlate" ObjectTypeBike ObjectType = "Bike" )
type OtherType ¶
type OtherType struct { XMLName xml.Name `xml:"http://www.onvif.org/ver10/schema OtherTypes" json:"-"` // Object Class Type Type string `xml:"Type,omitempty" json:"Type,omitempty"` // A likelihood/probability that the corresponding object belongs to this class. The sum of the likelihoods shall NOT exceed 1 Likelihood float32 `xml:"Likelihood,omitempty" json:"Likelihood,omitempty"` Items []string `xml:",any" json:"items,omitempty"` }
type PTZStream ¶
type PTZStream struct { XMLName xml.Name `xml:"http://www.onvif.org/ver10/schema PTZ" json:"-"` PTZStatus *tt.PTZStatus `xml:"PTZStatus,omitempty" json:"PTZStatus,omitempty"` Extension *PTZStreamExtension `xml:"Extension,omitempty" json:"Extension,omitempty"` }
type PTZStreamExtension ¶
type ShapeDescriptor ¶
type ShapeDescriptor struct { XMLName xml.Name `xml:"http://www.onvif.org/ver10/schema Shape" json:"-"` BoundingBox *tt.Rectangle `xml:"BoundingBox,omitempty" json:"BoundingBox,omitempty"` CenterOfGravity *tt.Vector `xml:"CenterOfGravity,omitempty" json:"CenterOfGravity,omitempty"` Polygon []*tt.Polygon `xml:"Polygon,omitempty" json:"Polygon,omitempty"` Extension *ShapeDescriptorExtension `xml:"Extension,omitempty" json:"Extension,omitempty"` Items []string `xml:",any" json:"items,omitempty"` }
type StringLikelihood ¶
type VehicleInfo ¶
type VehicleInfo struct { Type *StringLikelihood `xml:"Type,omitempty" json:"Type,omitempty"` Brand *StringLikelihood `xml:"Brand,omitempty" json:"Brand,omitempty"` Model *StringLikelihood `xml:"Model,omitempty" json:"Model,omitempty"` Items []string `xml:",any" json:"items,omitempty"` }
type VehicleType ¶
type VehicleType string
const ( VehicleTypeBus VehicleType = "Bus" VehicleTypeCar VehicleType = "Car" VehicleTypeTruck VehicleType = "Truck" VehicleTypeBicycle VehicleType = "Bicycle" VehicleTypeMotorcycle VehicleType = "Motorcycle" )
type VideoAnalyticsStream ¶
type VideoAnalyticsStream struct { XMLName xml.Name `xml:"http://www.onvif.org/ver10/schema VideoAnalytics" json:"-"` Frame *Frame `xml:"Frame,omitempty" json:"Frame,omitempty"` Extension *VideoAnalyticsStreamExtension `xml:"Extension,omitempty" json:"Extension,omitempty"` }
Click to show internal directories.
Click to hide internal directories.