Documentation
¶
Index ¶
- type AnalyticsModuleDescription
- type AnalyticsModuleOptions
- type Appearance
- type AppearanceExtension
- type BarcodeInfo
- type Behaviour
- type BehaviourExtension
- type Capabilities
- type ClassDescriptor
- type ClassDescriptorExtension
- type ClassDescriptorExtension2
- type ClassType
- type ColorDescriptor
- type CreateAnalyticsModules
- type CreateAnalyticsModulesResponse
- type CreateRules
- type CreateRulesResponse
- type Data
- type DeleteAnalyticsModules
- type DeleteAnalyticsModulesResponse
- type DeleteRules
- type DeleteRulesResponse
- type ElementItemDescription
- type Frame
- type FrameExtension
- type FrameExtension2
- type GetAnalyticsModuleOptions
- type GetAnalyticsModuleOptionsResponse
- type GetAnalyticsModules
- type GetAnalyticsModulesResponse
- type GetRuleOptions
- type GetRuleOptionsResponse
- type GetRules
- type GetRulesResponse
- type GetServiceCapabilities
- type GetServiceCapabilitiesResponse
- type GetSupportedAnalyticsModules
- type GetSupportedAnalyticsModulesResponse
- type GetSupportedMetadata
- type GetSupportedMetadataResponse
- type GetSupportedRules
- type GetSupportedRulesResponse
- type HumanBody
- type HumanFace
- type IntRange
- type ItemListExtension
- type Key
- type LabelInfo
- type LicensePlateInfo
- type Merge
- type Messages
- type MetadataInfo
- type ModifyAnalyticsModules
- type ModifyAnalyticsModulesResponse
- type ModifyRules
- type ModifyRulesResponse
- type MotionInCells
- type MotionRegionConfigOptions
- type Object
- type ObjectExtension
- type ObjectId
- type ObjectTree
- type ObjectTreeExtension
- type OtherType
- type Parameters
- type Polygon
- type PolygonOptions
- type Rename
- type RuleDescription
- type RuleOptions
- type ShapeDescriptor
- type ShapeDescriptorExtension
- type SimpleItemDescription
- type Source
- type SphericalCoordinate
- type Split
- type StringItems
- type StringLikelihood
- type SupportedAnalyticsModules
- type SupportedRules
- type Transformation
- type VehicleInfo
- type VertexLimits
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnalyticsModuleDescription ¶ added in v0.0.20
type AnalyticsModuleDescription struct {
Name string `xml:"Name,attr"`
Fixed bool `xml:"fixed,attr"`
MaxInstances int `xml:"maxInstances,attr"`
Parameters *Parameters
Messages *Messages
}
type AnalyticsModuleOptions ¶ added in v0.0.20
type Appearance ¶ added in v0.0.20
type Appearance struct {
Transformation Transformation `xml:"tan:Transformation"` // optional
Shape ShapeDescriptor `xml:"tan:Shape"` // optional
Color ColorDescriptor `xml:"tan:Color"` // optional
Class ClassDescriptor `xml:"tan:Class"` // optional
Extension AppearanceExtension `xml:"tan:Extension"` // optional
GeoLocation onvif.GeoLocation `xml:"tan:GeoLocation"` // optional
VehicleInfo VehicleInfo `xml:"tan:VehicleInfo"` // optional
LicensePlateInfo LicensePlateInfo `xml:"tan:LicensePlateInfo"` // optional
HumanFace HumanFace `xml:"tan:HumanFace"` // optional
HumanBody HumanBody `xml:"tan:HumanBody"` // optional
ImageRef xsd.AnyURI `xml:"tan:ImageRef"` // optional
BarcodeInfo BarcodeInfo `xml:"tan:BarcodeInfo"` // optional
SphericalCoordinate SphericalCoordinate `xml:"tan:SphericalCoordinate"` // optional
Label LabelInfo `xml:"tan:Label"` // optional, unbounded
}
type AppearanceExtension ¶ added in v0.0.20
type AppearanceExtension struct {
}
type BarcodeInfo ¶ added in v0.0.20
type BarcodeInfo struct {
Data StringLikelihood `xml:"tan:Data"`
Type StringLikelihood `xml:"tan:Type"` // optional
PPM xsd.Float `xml:"tan:PPM"` // optional
}
type Behaviour ¶ added in v0.0.20
type Behaviour struct {
Removed xsd.AnyType `xml:"tan:Removed"` // optional
Idle xsd.AnyType `xml:"tan:Idle"` // optional
Extension BehaviourExtension `xml:"tan:Extension"` // optional
Speed xsd.Float `xml:"tan:Speed"`
Direction onvif.GeoOrientation `xml:"tan:Direction"`
}
type BehaviourExtension ¶ added in v0.0.20
type BehaviourExtension struct {
}
type Capabilities ¶ added in v0.0.20
type Capabilities struct {
// Indication that the device supports the rules interface and the rules syntax
RuleSupport xsd.Boolean
// Indication that the device supports the scene analytics module interface
AnalyticsModuleSupport xsd.Boolean
// Indication that the device produces the cell based scene description
CellBasedSceneDescriptionSupported xsd.Boolean
// Indication that the device supports the GetRuleOptions operation on the rules interface
RuleOptionsSupported xsd.Boolean
// Indication that the device supports the [GetAnalyticsModuleOptions] operation on the
// analytics interface
AnalyticsModuleOptionsSupported xsd.Boolean
// Indication that the device supports the [GetSupportedMetadata] operation
SupportedMetadata xsd.Boolean
// Indication what kinds of method that the device support for sending image, acceptable values
// are defined in tt:ImageSendingType
ImageSendingType []xsd.String
}
type ClassDescriptor ¶ added in v0.0.20
type ClassDescriptor struct {
ClassCandidate struct {
Type ClassType `xml:"tan:Type"`
Likelihood xsd.Float `xml:"tan:Likelihood"`
} // optional, unbounded
Extension ClassDescriptorExtension `xml:"tan:Extension"` // optional
}
type ClassDescriptorExtension ¶ added in v0.0.20
type ClassDescriptorExtension struct {
OtherTypes OtherType `xml:"tan:OtherTypes"` // unbounded
Extension ClassDescriptorExtension2 `xml:"tan:Extension"` // optional
Type StringLikelihood `xml:"tan:Type"` // optional, unbounded
}
type ClassDescriptorExtension2 ¶ added in v0.0.20
type ClassDescriptorExtension2 struct {
}
type ColorDescriptor ¶ added in v0.0.20
type ColorDescriptor struct {
}
type CreateAnalyticsModules ¶
type CreateAnalyticsModules struct {
XMLName string `xml:"tev:CreateAnalyticsModules"`
ConfigurationToken onvif.ReferenceToken `xml:"tan:ConfigurationToken"`
AnalyticsModule []onvif.ConfigRequest `xml:"tan:AnalyticsModule"`
}
type CreateAnalyticsModulesResponse ¶ added in v0.0.20
type CreateAnalyticsModulesResponse struct{}
type CreateRules ¶
type CreateRules struct {
XMLName string `xml:"tan:CreateRules"`
ConfigurationToken onvif.ReferenceToken `xml:"tan:ConfigurationToken"`
Rule []onvif.ConfigRequest `xml:"tan:Rule"`
}
type CreateRulesResponse ¶ added in v0.0.20
type CreateRulesResponse struct{}
type Data ¶ added in v0.0.20
type Data struct {
SimpleItemDescription []SimpleItemDescription
ElementItemDescription []ElementItemDescription
Extension *xsd.String
}
type DeleteAnalyticsModules ¶
type DeleteAnalyticsModules struct {
XMLName string `xml:"tan:DeleteAnalyticsModules"`
ConfigurationToken onvif.ReferenceToken `xml:"tan:ConfigurationToken"`
AnalyticsModuleName []xsd.String `xml:"tan:AnalyticsModuleName"`
}
type DeleteAnalyticsModulesResponse ¶ added in v0.0.20
type DeleteAnalyticsModulesResponse struct{}
type DeleteRules ¶
type DeleteRules struct {
XMLName string `xml:"tan:DeleteRules"`
ConfigurationToken onvif.ReferenceToken `xml:"tan:ConfigurationToken"`
RuleName []xsd.String `xml:"tan:RuleName"`
}
type DeleteRulesResponse ¶ added in v0.0.20
type DeleteRulesResponse struct{}
type ElementItemDescription ¶ added in v0.0.20
type Frame ¶ added in v0.0.20
type Frame struct {
UtcTime xsd.DateTime `xml:"tan:UtcTime"` // required
Colorspace xsd.String `xml:"tan:Colorspace"`
Source xsd.String `xml:"tan:Source"`
PTZStatus onvif.PTZStatus `xml:"tan:PTZStatus"` // optional
Transformation Transformation `xml:"tan:Transformation"` // optional
Object Object `xml:"tan:Object"` // optional, unbounded
ObjectTree ObjectTree `xml:"tan:ObjectTree"` // optional, unbounded
Extension FrameExtension `xml:"tan:Extension"` // optional
SceneImageRef xsd.AnyURI `xml:"tan:SceneImageRef"` // optional
SceneImage xsd.Base64Binary `xml:"tan:SceneImage"` // optional
}
type FrameExtension ¶ added in v0.0.20
type FrameExtension struct {
MotionInCells MotionInCells `xml:"tan:MotionInCells"` // optional
Extension FrameExtension2 `xml:"tan:Extension"` // optional
}
type FrameExtension2 ¶ added in v0.0.20
type FrameExtension2 struct {
}
type GetAnalyticsModuleOptions ¶
type GetAnalyticsModuleOptions struct {
XMLName string `xml:"tan:GetAnalyticsModuleOptions"`
Type xsd.QName `xml:"tan:Type,omitempty"`
ConfigurationToken onvif.ReferenceToken `xml:"tan:ConfigurationToken"`
}
type GetAnalyticsModuleOptionsResponse ¶ added in v0.0.20
type GetAnalyticsModuleOptionsResponse struct {
Options []AnalyticsModuleOptions
}
type GetAnalyticsModules ¶
type GetAnalyticsModules struct {
XMLName string `xml:"tan:GetAnalyticsModules"`
ConfigurationToken onvif.ReferenceToken `xml:"tan:ConfigurationToken"`
}
type GetAnalyticsModulesResponse ¶ added in v0.0.20
type GetRuleOptions ¶
type GetRuleOptions struct {
XMLName string `xml:"tan:GetRuleOptions"`
RuleType xsd.QName `xml:"tan:RuleType"`
ConfigurationToken onvif.ReferenceToken `xml:"tan:ConfigurationToken"`
}
type GetRuleOptionsResponse ¶ added in v0.0.20
type GetRuleOptionsResponse struct {
RuleOptions []RuleOptions
}
type GetRules ¶
type GetRules struct {
XMLName string `xml:"tan:GetRules"`
ConfigurationToken onvif.ReferenceToken `xml:"tan:ConfigurationToken"`
}
type GetRulesResponse ¶ added in v0.0.20
type GetServiceCapabilities ¶
type GetServiceCapabilities struct {
XMLName string `xml:"tan:GetServiceCapabilities"`
}
type GetServiceCapabilitiesResponse ¶ added in v0.0.20
type GetServiceCapabilitiesResponse struct {
Capabilities Capabilities
}
type GetSupportedAnalyticsModules ¶
type GetSupportedAnalyticsModules struct {
XMLName string `xml:"tan:GetSupportedAnalyticsModules"`
ConfigurationToken onvif.ReferenceToken `xml:"tan:ConfigurationToken"`
}
type GetSupportedAnalyticsModulesResponse ¶ added in v0.0.20
type GetSupportedAnalyticsModulesResponse struct {
SupportedAnalyticsModules SupportedAnalyticsModules
}
type GetSupportedMetadata ¶ added in v0.0.20
type GetSupportedMetadataResponse ¶ added in v0.0.20
type GetSupportedMetadataResponse struct {
AnalyticsModule MetadataInfo `xml:"tan:AnalyticsModule"` // optional, unbounded
}
type GetSupportedRules ¶
type GetSupportedRules struct {
XMLName string `xml:"tan:GetSupportedRules"`
ConfigurationToken onvif.ReferenceToken `xml:"tan:ConfigurationToken"`
}
type GetSupportedRulesResponse ¶ added in v0.0.20
type GetSupportedRulesResponse struct {
SupportedRules SupportedRules
}
type ItemListExtension ¶ added in v0.0.20
type Key ¶ added in v0.0.20
type Key struct {
SimpleItemDescription []SimpleItemDescription
ElementItemDescription []ElementItemDescription
Extension *xsd.String
}
type LicensePlateInfo ¶ added in v0.0.20
type LicensePlateInfo struct {
PlateNumber StringLikelihood `xml:"tan:PlateNumber"`
PlateType StringLikelihood `xml:"tan:PlateType"` // optional
CountryCode StringLikelihood `xml:"tan:CountryCode"` // optional
IssuingEntity StringLikelihood `xml:"tan:IssuingEntity"` // optional
}
type MetadataInfo ¶ added in v0.0.20
type ModifyAnalyticsModules ¶
type ModifyAnalyticsModules struct {
XMLName string `xml:"tan:ModifyAnalyticsModules"`
ConfigurationToken onvif.ReferenceToken `xml:"tan:ConfigurationToken"`
AnalyticsModule []onvif.ConfigRequest `xml:"tan:AnalyticsModule"`
}
type ModifyAnalyticsModulesResponse ¶ added in v0.0.20
type ModifyAnalyticsModulesResponse struct{}
type ModifyRules ¶
type ModifyRules struct {
XMLName string `xml:"tan:ModifyRules"`
ConfigurationToken onvif.ReferenceToken `xml:"tan:ConfigurationToken"`
Rule []onvif.ConfigRequest `xml:"tan:Rule"`
}
type ModifyRulesResponse ¶ added in v0.0.20
type ModifyRulesResponse struct{}
type MotionInCells ¶ added in v0.0.20
type MotionRegionConfigOptions ¶ added in v0.0.20
type MotionRegionConfigOptions struct {
DisarmSupport bool
PolygonSupport bool
PolygonLimits VertexLimits
}
type Object ¶ added in v0.0.20
type Object struct {
ObjectId xsd.Integer `xml:"tan:ObjectId"`
UUID xsd.String `xml:"tan:UUID"` // optional
Parent xsd.Integer `xml:"tan:Parent"`
Appearance Appearance // optional
Behaviour Behaviour // optional
Extension ObjectExtension // optional
}
type ObjectExtension ¶ added in v0.0.20
type ObjectExtension struct {
}
type ObjectTree ¶ added in v0.0.20
type ObjectTree struct {
Rename Rename `xml:"tan:Rename"` // optional, unbounded
Split Split `xml:"tan:Split"` // optional, unbounded
Merge Merge `xml:"tan:Merge"` // optional, unbounded
Delete ObjectId `xml:"Delete"` // TODO
Extension ObjectTreeExtension `xml:"tan:Extension"` // optional
}
type ObjectTreeExtension ¶ added in v0.0.20
type ObjectTreeExtension struct {
}
type Parameters ¶ added in v0.0.20
type Parameters struct {
SimpleItemDescription []SimpleItemDescription
ElementItemDescription []ElementItemDescription
Extension *xsd.String
}
type PolygonOptions ¶ added in v0.0.20
type PolygonOptions struct {
VertexLimits VertexLimits
}
type RuleDescription ¶ added in v0.0.20
type RuleOptions ¶ added in v0.0.20
type RuleOptions struct {
RuleType xsd.String
Name xsd.String `xml:",attr"`
Type xsd.String `xml:",attr"`
MinOccurs xsd.String `xml:"minOccurs,attr"`
MaxOccurs xsd.String `xml:"maxOccurs,attr"`
AnalyticsModule xsd.String
IntRange IntRange
StringItems StringItems
PolygonOptions PolygonOptions
MotionRegionConfigOptions MotionRegionConfigOptions
StringList xsd.String
}
type ShapeDescriptor ¶ added in v0.0.20
type ShapeDescriptorExtension ¶ added in v0.0.20
type ShapeDescriptorExtension struct {
}
type SimpleItemDescription ¶ added in v0.0.20
type Source ¶ added in v0.0.20
type Source struct {
SimpleItemDescription []SimpleItemDescription
ElementItemDescription []ElementItemDescription
Extension *xsd.String
}
type SphericalCoordinate ¶ added in v0.0.20
type SphericalCoordinate struct {
}
type StringItems ¶ added in v0.0.20
type StringItems struct {
Item []string
}
type StringLikelihood ¶ added in v0.0.20
type SupportedAnalyticsModules ¶ added in v0.0.20
type SupportedAnalyticsModules struct {
Limit *xsd.Int
AnalyticsModuleContentSchemaLocation *xsd.String
AnalyticsModuleDescription []AnalyticsModuleDescription
}
type SupportedRules ¶ added in v0.0.20
type SupportedRules struct {
Limit *xsd.Int
RuleContentSchemaLocation *xsd.String
RuleDescription []RuleDescription
}
type Transformation ¶ added in v0.0.20
type Transformation struct {
}
type VehicleInfo ¶ added in v0.0.20
type VehicleInfo struct {
Type StringLikelihood `xml:"tan:Type"`
Brand StringLikelihood `xml:"tan:Brand"` // optional
Model StringLikelihood `xml:"tan:Model"` // optional
}
type VertexLimits ¶ added in v0.0.20
Click to show internal directories.
Click to hide internal directories.