public static MotionDetection ( this operations, string sensitivityLevel = default(string), double frameSamplingValue = default(double?), string detectionZones = default(string), bool detectLightChange = default(bool?), double mergeTimeThreshold = default(double?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void |
operations |
this |
/// The operations group for this extension method.
/// |
sensitivityLevel |
string |
/// Specify the detection sensitivity level: “low”, “medium”, “high”. Higher
/// sensitivity means more motions will be detected at a cost that more false
/// alarms will be reported. The default value is “medium”.
/// |
frameSamplingValue |
double |
/// User may skip frames by setting this parameter. It can be used as a
/// tradeoff between performance and cost, skipping frames may reduce
/// processing time but result in worse detection performance. The default
/// value is 1, meaning detecting motion for every frame. If set to 2, then
/// the algorithm will detect one frame for every two frames. The upper bound
/// is 20.
/// |
detectionZones |
string |
/// User can setup detection zones by passing in a string like
/// “detectionZones=0,0;0.5,0;1,0;1,0.5;1,1;0.5,1;0,1;0,0.5
/// |0.3,0.3;0.55,0.3;0.8,0.3; 0.8,0.55;0.8,0.8;0.55,0.8;0.3,0.8;0.3,0.55;|
/// 0,0;1,0;1,1;0,1”, each detection zone is separated by a “|” and each
/// point is defined by a “x,y” pair and separated by a “;”. At most 8
/// detection zones are supported and each detection zone should be defined
/// by at least 3 points and no more than 16 points. The default setting is
/// “detectionZones=0,0;0.5,0;1,0;1,0.5;1,1;0.5,1;0,1;0,0.5”, i.e. the whole
/// frame defined by an 8-point polygon.
/// |
detectLightChange |
bool |
/// Specify whether light change events should be detected. The default value
/// is false.
/// |
mergeTimeThreshold |
double |
/// Specify the threshold on whether successive motions should be merged
/// together, if the interval between successive motions is <=
/// mergeTimeThreshold, they will be merged. The default value is 0.0 and
/// upper bound is 10.0.
/// |
subscriptionKey |
string |
/// subscription key in url
/// |
ocpApimSubscriptionKey |
string |
/// subscription key in header
/// |
return |
void |
|