Broken AI server Part 1
its 5:30 in the morning
This commit is contained in:
168
V3.1/build/usr/local/etc/lps/cameras.json
Normal file
168
V3.1/build/usr/local/etc/lps/cameras.json
Normal file
@@ -0,0 +1,168 @@
|
||||
{
|
||||
"type" : "CUDA",
|
||||
"cuda" : {
|
||||
"devices" : [
|
||||
{
|
||||
"enabled" : true,
|
||||
"name" : "Camera-0",
|
||||
"path" : "/dev/video1",
|
||||
"bufferPoolSize" : 10,
|
||||
"width" : 1280,
|
||||
"height" : 720,
|
||||
"outputBufferFormats" : 2,
|
||||
"hFlip" : true,
|
||||
"vFlip" : true,
|
||||
"gamma" : {
|
||||
"R" : 0.7,
|
||||
"G" : 0.7,
|
||||
"B" : 0.7
|
||||
},
|
||||
"numSamples" : 10000,
|
||||
"ae" : {
|
||||
"exposureP" : 0.02,
|
||||
"gainP" : 0.02,
|
||||
"targetY" : 0.6,
|
||||
"avgYThreshold" : 0.8,
|
||||
"skinSegmentedTargetY" : 0.43,
|
||||
"skinSegmentedAvgYThreshold" : 0.8,
|
||||
"skinRatioThreshold" : 0.010,
|
||||
"numSamples" : 1000,
|
||||
"numRegions" : 64,
|
||||
"errorY" : 0.0001
|
||||
},
|
||||
"awb" : {
|
||||
"grayThreshold" : 0.3,
|
||||
"numSamples" : 1000,
|
||||
"P" : 0.15,
|
||||
"targetU" : 0.505,
|
||||
"targetV" : 0.50,
|
||||
"seed" : 0
|
||||
}
|
||||
},
|
||||
{
|
||||
"enabled" : true,
|
||||
"name" : "Camera-1",
|
||||
"path" : "/dev/video0",
|
||||
"bufferPoolSize" : 4,
|
||||
"width" : 1280,
|
||||
"height" : 720,
|
||||
"outputBufferFormats" : 2,
|
||||
"hFlip" : true,
|
||||
"vFlip" : true,
|
||||
"gamma" : {
|
||||
"R" : 0.7,
|
||||
"G" : 0.7,
|
||||
"B" : 0.7
|
||||
},
|
||||
"numSamples" : 10000,
|
||||
"ae" : {
|
||||
"exposureP" : 0.02,
|
||||
"gainP" : 0.02,
|
||||
"targetY" : 0.6,
|
||||
"avgYThreshold" : 0.8,
|
||||
"skinSegmentedTargetY" : 0.46,
|
||||
"skinSegmentedAvgYThreshold" : 0.8,
|
||||
"skinRatioThreshold" : 0.010,
|
||||
"numSamples" : 1000,
|
||||
"errorY" : 0.0001
|
||||
},
|
||||
"awb" : {
|
||||
"grayThreshold" : 0.3,
|
||||
"numSamples" : 1000,
|
||||
"P" : 0.15,
|
||||
"targetU" : 0.505,
|
||||
"targetV" : 0.50,
|
||||
"seed" : 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"cuda" : {
|
||||
|
||||
}
|
||||
},
|
||||
"file" : {
|
||||
"videos" : [
|
||||
"videos/video-000/video.json",
|
||||
"videos/video-001/video.json"
|
||||
],
|
||||
"format" : "YUV420p"
|
||||
},
|
||||
"v4l2" : {
|
||||
"devices" : {
|
||||
"left" : "/dev/video0",
|
||||
"right" : "/dev/video1"
|
||||
}
|
||||
},
|
||||
"controls" : [
|
||||
{
|
||||
"width" : 1280,
|
||||
"height" : 720,
|
||||
"hFlip" : true,
|
||||
"vFlip" : true,
|
||||
"ae" : {
|
||||
"lock" : false,
|
||||
"manual" : false,
|
||||
"time" : {
|
||||
"low" : 0.0016667,
|
||||
"high" : 0.033
|
||||
},
|
||||
"regions" : [],
|
||||
"targetY" : 0.4,
|
||||
"manualMode" : "default",
|
||||
"manualExposure" : 0.03333,
|
||||
"manualGain" : 1,
|
||||
"ev" : 0
|
||||
},
|
||||
"outputBuffers" : [],
|
||||
"outputBuffersConfIndex" : 2,
|
||||
"awb" : {
|
||||
"lock" : false,
|
||||
"manual" : false,
|
||||
"gammaRed" : 0.7,
|
||||
"gammaGreen" : 0.7,
|
||||
"gammaBlue" : 0.7,
|
||||
"regions" : [],
|
||||
"manualRedGain" : 1024,
|
||||
"manualGreenGain" : 1024,
|
||||
"manualBlueGain" : 1024,
|
||||
"gammaCr" : 0.78,
|
||||
"gammaCb" : 0.78
|
||||
}
|
||||
},
|
||||
{
|
||||
"width" : 1280,
|
||||
"height" : 720,
|
||||
"hFlip" : true,
|
||||
"vFlip" : true,
|
||||
"ae" : {
|
||||
"lock" : false,
|
||||
"manual" : false,
|
||||
"time" : {
|
||||
"low" : 0.0016667,
|
||||
"high" : 0.033
|
||||
},
|
||||
"regions" : [],
|
||||
"targetY" : 0.4,
|
||||
"manualMode" : "default",
|
||||
"manualExposure" : 0.03333,
|
||||
"manualGain" : 1,
|
||||
"ev" : 0
|
||||
},
|
||||
"outputBuffers" : [],
|
||||
"outputBuffersConfIndex" : 2,
|
||||
"awb" : {
|
||||
"lock" : false,
|
||||
"manual" : false,
|
||||
"gammaRed" : 0.7,
|
||||
"gammaGreen" : 0.7,
|
||||
"gammaBlue" : 0.7,
|
||||
"regions" : [],
|
||||
"manualRedGain" : 1024,
|
||||
"manualGreenGain" : 1024,
|
||||
"manualBlueGain" : 1024,
|
||||
"gammaCr" : 0.78,
|
||||
"gammaCb" : 0.78
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
318
V3.1/build/usr/local/etc/lps/entityConfig.json
Normal file
318
V3.1/build/usr/local/etc/lps/entityConfig.json
Normal file
@@ -0,0 +1,318 @@
|
||||
{
|
||||
"default_person" : {
|
||||
"debug" : false,
|
||||
"description" : "person",
|
||||
"name" : "person",
|
||||
"max_track_age" : 300.0,
|
||||
"is_static" : false,
|
||||
"min_part_confidence" : 0.001,
|
||||
"max_part_measure_age" : 5.0,
|
||||
"max_audio_measure_age" : 10.0,
|
||||
"min_audio_confidence" : 0.4,
|
||||
"out_fov_age_factor" : 1.5,
|
||||
"in_fov_margin" : 0.10,
|
||||
"min_detect_request_age" : 5.0,
|
||||
"speaking_timeout" : 1.5,
|
||||
"speaking_threshold" : 0.25,
|
||||
"head" : {
|
||||
"name" : "head",
|
||||
"debug" : false,
|
||||
"identity" : {
|
||||
"alpha" : 0.75,
|
||||
"cull" : 0.1
|
||||
},
|
||||
"enable_back_projection" : true,
|
||||
"default_ramge" : 2.5,
|
||||
"use_pseudo_range" : true,
|
||||
"extent_x" : 0.25,
|
||||
"extent_y" : 0.25,
|
||||
"extent_z" : 0.25,
|
||||
"vel_decay" : 0.5,
|
||||
"vel_max" : 1.9,
|
||||
"linear_psd" : 10.0,
|
||||
"min_state_covariance" : 0.0001,
|
||||
"pseudo_range_covariance" : 0.9,
|
||||
"auto_add_tracker" : false,
|
||||
"auto_add_tracker_skip" : 20,
|
||||
"pose_filter":0.0,
|
||||
"tracker_type" : "tracker_2",
|
||||
"tracker_1" : {
|
||||
"tracker_class" : "color_tracker",
|
||||
"image_tracker" : {
|
||||
"debug" : false,
|
||||
"image_debug" : false,
|
||||
"name" : "A",
|
||||
"use_image_velocity" : true,
|
||||
"vel_scale" : 0.9,
|
||||
"vel_filter" : 0.75,
|
||||
"base_covar" : 220.0,
|
||||
"image_width" : 640,
|
||||
"image_height" : 360,
|
||||
"track_confidence_filter" : 0.6,
|
||||
"model_confidence_filter" : 0.9,
|
||||
"min_confidence" : 0.05,
|
||||
"measure_interval": 0.067
|
||||
},
|
||||
"color_tracker" : {
|
||||
"model_debug" : false,
|
||||
"track_debug" : false,
|
||||
"drop_area_too_big" : 120000.0,
|
||||
"drop_area_too_small" : 600.0,
|
||||
"search_size_horizontal_scale" : 20,
|
||||
"search_size_vertical_scale" : 20,
|
||||
"area_filter" : 0.6,
|
||||
"model" : {
|
||||
"y_min" : 25,
|
||||
"y_max" : 250,
|
||||
"color_threshold_min" : 10,
|
||||
"color_threshold_max" : 25
|
||||
},
|
||||
"camshift" : {
|
||||
"max_iterations" : 6,
|
||||
"area_scale" : 10.0,
|
||||
"area_aspect" : 1.2
|
||||
},
|
||||
"kmeans" : {
|
||||
"K" : 2,
|
||||
"max_iterations" : 10,
|
||||
"convergence" : 0.01
|
||||
}
|
||||
}
|
||||
},
|
||||
"tracker_2" : {
|
||||
"tracker_class" : "abcshift_tracker",
|
||||
"image_tracker" : {
|
||||
"debug" : false,
|
||||
"image_debug" : false,
|
||||
"name" : "A",
|
||||
"use_image_velocity" : true,
|
||||
"vel_scale" : 0.9,
|
||||
"vel_filter" : 0.75,
|
||||
"base_covar" : 220.0,
|
||||
"image_width" : 640,
|
||||
"image_height" : 360,
|
||||
"track_confidence_filter" : 0.6,
|
||||
"model_confidence_filter" : 0.9,
|
||||
"min_confidence" : 0.05,
|
||||
"measure_interval": 0.067
|
||||
},
|
||||
"abcshift_tracker" : {
|
||||
"drop_area_too_big" : 120000.0,
|
||||
"drop_area_too_small" : 600.0,
|
||||
"search_size_horizontal_scale" : 20,
|
||||
"search_size_vertical_scale" : 20,
|
||||
"area_filter" : 0.6,
|
||||
"max_iterations" : 6,
|
||||
"area_scale" : 1.3,
|
||||
"area_aspect" : 1.2,
|
||||
"bhattacharyya_threshold" : 0.5,
|
||||
"model" : {
|
||||
"y_min" : 5,
|
||||
"y_max" : 250,
|
||||
"color_threshold_min" : 5,
|
||||
"color_threshold_max" : 10
|
||||
},
|
||||
"background" : {
|
||||
"minX" : 0,
|
||||
"maxX" : 255,
|
||||
"binsX" : 256,
|
||||
"minY" : 0,
|
||||
"maxY" : 255,
|
||||
"binsY" : 256
|
||||
},
|
||||
"foreground" : {
|
||||
"minX" : 0,
|
||||
"maxX" : 255,
|
||||
"binsX" : 256,
|
||||
"minY" : 0,
|
||||
"maxY" : 255,
|
||||
"binsY" : 256
|
||||
}
|
||||
}
|
||||
},
|
||||
"tracker_3" : {
|
||||
"tracker_class" : "correlation_tracker",
|
||||
"image_tracker" : {
|
||||
"debug" : false,
|
||||
"image_debug" : false,
|
||||
"name" : "A",
|
||||
"use_image_velocity" : true,
|
||||
"vel_scale" : 0.9,
|
||||
"vel_filter" : 0.75,
|
||||
"base_covar" : 220.0,
|
||||
"image_width" : 640,
|
||||
"image_height" : 360,
|
||||
"track_confidence_filter" : 0.6,
|
||||
"model_confidence_filter" : 0.9,
|
||||
"min_confidence" : 0.05,
|
||||
"measure_interval": 0.067
|
||||
},
|
||||
"correlation_tracker" : {
|
||||
"filter_size" : 6,
|
||||
"num_scale_levels" : 5,
|
||||
"scale_window_size" : 23,
|
||||
"regularizer_space" : 0.001,
|
||||
"nu_space" : 0.025,
|
||||
"regularizer_scale" : 0.001,
|
||||
"nu_scale" : 0.025,
|
||||
"scale_pyramid_alpha" : 1.020,
|
||||
"side_lobe_ratio_threshold": 12.0
|
||||
}
|
||||
},
|
||||
"tracker_4" : {
|
||||
"tracker_class" : "face_landmark_tracker",
|
||||
"image_tracker" : {
|
||||
"debug" : false,
|
||||
"image_debug" : false,
|
||||
"name" : "A",
|
||||
"use_image_velocity" : true,
|
||||
"vel_scale" : 0.9,
|
||||
"vel_filter" : 0.75,
|
||||
"base_covar" : 220.0,
|
||||
"image_width" : 640,
|
||||
"image_height" : 360,
|
||||
"track_confidence_filter" : 0.6,
|
||||
"model_confidence_filter" : 0.9,
|
||||
"min_confidence" : 0.05,
|
||||
"measure_interval": 0.067
|
||||
},
|
||||
"face_landmark_tracker" : { }
|
||||
},
|
||||
"tracker_5" : {
|
||||
"tracker_class" : "composite_tracker",
|
||||
"image_tracker" : {
|
||||
"debug" : false,
|
||||
"image_debug" : false,
|
||||
"name" : "A",
|
||||
"use_image_velocity" : true,
|
||||
"vel_scale" : 0.9,
|
||||
"vel_filter" : 0.75,
|
||||
"base_covar" : 220.0,
|
||||
"image_width" : 1280,
|
||||
"image_height" : 720,
|
||||
"track_confidence_filter" : 0.6,
|
||||
"model_confidence_filter" : 0.9,
|
||||
"min_confidence" : 0.05,
|
||||
"measure_interval": 0.067
|
||||
},
|
||||
"composite_tracker" : {
|
||||
"trackers" : {
|
||||
"color" : {
|
||||
"tracker_class" : "abcshift_tracker",
|
||||
"image_tracker" : {
|
||||
"debug" : false,
|
||||
"image_debug" : false,
|
||||
"name" : "A",
|
||||
"use_image_velocity" : true,
|
||||
"vel_scale" : 0.9,
|
||||
"vel_filter" : 0.75,
|
||||
"base_covar" : 220.0,
|
||||
"image_width" : 640,
|
||||
"image_height" : 360,
|
||||
"track_confidence_filter" : 0.6,
|
||||
"model_confidence_filter" : 0.9,
|
||||
"min_confidence" : 0.05,
|
||||
"measure_interval": 0.067
|
||||
},
|
||||
"abcshift_tracker" : {
|
||||
"drop_area_too_big" : 120000.0,
|
||||
"drop_area_too_small" : 600.0,
|
||||
"search_size_horizontal_scale" : 20,
|
||||
"search_size_vertical_scale" : 20,
|
||||
"area_filter" : 0.6,
|
||||
"max_iterations" : 6,
|
||||
"area_scale" : 1.3,
|
||||
"area_aspect" : 1.2,
|
||||
"bhattacharyya_threshold" : 0.5,
|
||||
"model" : {
|
||||
"y_min" : 5,
|
||||
"y_max" : 250,
|
||||
"color_threshold_min" : 5,
|
||||
"color_threshold_max" : 25
|
||||
},
|
||||
"background" : {
|
||||
"minX" : 0,
|
||||
"maxX" : 255,
|
||||
"binsX" : 64,
|
||||
"minY" : 0,
|
||||
"maxY" : 255,
|
||||
"binsY" : 64
|
||||
},
|
||||
"foreground" : {
|
||||
"minX" : 0,
|
||||
"maxX" : 255,
|
||||
"binsX" : 64,
|
||||
"minY" : 0,
|
||||
"maxY" : 255,
|
||||
"binsY" : 64
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"default_motion" : {
|
||||
"debug" : false,
|
||||
"description" : "motion",
|
||||
"name" : "motion",
|
||||
"max_track_age" : 20.0,
|
||||
"is_static" : false,
|
||||
"max_part_measure_age" : 1.0,
|
||||
"max_audio_measure_age" : 0.1,
|
||||
"out_fov_age_factor" : 0.1,
|
||||
"motion" : {
|
||||
"name" : "motion",
|
||||
"debug" : false,
|
||||
"enable_back_projection" : true,
|
||||
"default_ramge" : 2.5,
|
||||
"use_pseudo_range" : true,
|
||||
"extent_x" : 0.25,
|
||||
"extent_y" : 0.25,
|
||||
"extent_z" : 0.25,
|
||||
"vel_decay" : 0.999,
|
||||
"vel_limit" : 3.0,
|
||||
"linear_psd" : 0.10,
|
||||
"min_state_covariance" : 0.001,
|
||||
"pseudo_range_covariance" : 0.5,
|
||||
"fixed_pseudo_range" : 2.0,
|
||||
"auto_add_tracker" : false,
|
||||
"auto_add_tracker_skip" : 5,
|
||||
"confidence_filter" : 0.9,
|
||||
"pose_filter":0.0,
|
||||
"tracker_type" : "tracker_1",
|
||||
"tracker_1" : {
|
||||
"tracker_class" : "motion_tracker",
|
||||
"image_tracker" : {
|
||||
"debug" : false,
|
||||
"image_debug" : false,
|
||||
"name" : "A",
|
||||
"use_image_velocity" : false,
|
||||
"vel_scale" : 0.9,
|
||||
"vel_filter" : 0.75,
|
||||
"base_covar" : 200.0,
|
||||
"image_width" : 128,
|
||||
"image_height" : 128,
|
||||
"track_confidence_filter" : 0.6,
|
||||
"model_confidence_filter" : 0.5,
|
||||
"min_confidence" : 0.001,
|
||||
"measure_interval": 0.001
|
||||
},
|
||||
"motion_tracker" : {
|
||||
"background_threshold" : 5,
|
||||
"drop_area_too_big" : 1600.0,
|
||||
"drop_area_too_small" : 100.0,
|
||||
"search_size_horizontal_scale" : 5,
|
||||
"search_size_vertical_scale" : 5,
|
||||
"camshift" : {
|
||||
"max_iterations" : 6,
|
||||
"area_scale" : 3.0,
|
||||
"area_aspect" : 2.0
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
475
V3.1/build/usr/local/etc/lps/schemas/focused.json
Normal file
475
V3.1/build/usr/local/etc/lps/schemas/focused.json
Normal file
@@ -0,0 +1,475 @@
|
||||
{
|
||||
"schemas" :[
|
||||
{
|
||||
"name" : "FaceDetectSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"predicate" : {
|
||||
"type" : "face_detection_predicate",
|
||||
"enable" : true,
|
||||
"start" : 0,
|
||||
"skip_with_tracks" : 150,
|
||||
"skip_without_tracks" : 10,
|
||||
"criteria" : {
|
||||
"cameraIds" : [0]
|
||||
}
|
||||
},
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "FaceDetectAction",
|
||||
"type" : "face_detection_action",
|
||||
"enable" : true,
|
||||
"policy_detector" : {
|
||||
"criteria" : {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [
|
||||
{ "width" : 640, "height" : 360 },
|
||||
{ "width" : 80, "height" : 45 }
|
||||
],
|
||||
"formats" : [3, 1],
|
||||
"outputTypes" : [0, 2]
|
||||
},
|
||||
"detector" : {
|
||||
"min_hint_width" : 40,
|
||||
"min_hint_height" : 40
|
||||
},
|
||||
"policies" : [
|
||||
{
|
||||
"weight": 0.75,
|
||||
"kind": "skincolor",
|
||||
"sub_image_width" : 200,
|
||||
"sub_image_height" : 200,
|
||||
"extra_horizontal" : 20,
|
||||
"extra_vertical" : 20
|
||||
},
|
||||
{
|
||||
"weight": 0.25,
|
||||
"kind": "gaussian",
|
||||
"sub_image_width" : 200,
|
||||
"sub_image_height" : 200,
|
||||
"extra_horizontal" : 20,
|
||||
"extra_vertical" : 20
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "FaceTrackerInitAction",
|
||||
"type" : "face_tracker_init_action",
|
||||
"enable" : true,
|
||||
"max_tracked" : 1
|
||||
},
|
||||
{
|
||||
"name" : "FaceRecognitionAction",
|
||||
"type" : "face_recognition_action",
|
||||
"enable" : true,
|
||||
"turn_threshold" : 0.5
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "FaceTrackSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "FaceTrackerUpdate",
|
||||
"type" : "face_tracker_update_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "FaceTrackPoseEstimateSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : false,
|
||||
"predicate" : {
|
||||
"type" : "face_tracker_pose_estimate_predicate",
|
||||
"enable" : true,
|
||||
"start" : 4,
|
||||
"skip" : 11
|
||||
},
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "FaceTrackerPoseEstimate",
|
||||
"type" : "face_tracker_pose_estimate_action",
|
||||
"enable" : true,
|
||||
"hflip" : true,
|
||||
"vflip" : false,
|
||||
"criteria" : {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [{ "width" : 640, "height" : 360 }],
|
||||
"formats" : [3],
|
||||
"outputTypes" : [0]
|
||||
},
|
||||
"detector" : {
|
||||
"criteria" : {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [{ "width" : 640, "height" : 360 }],
|
||||
"formats" : [3],
|
||||
"outputTypes" : [0]
|
||||
},
|
||||
"min_hint_width" : 80,
|
||||
"min_hint_height" : 80
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "FaceTrackReevaluateSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"predicate" : {
|
||||
"type" : "face_reevaluate_predicate",
|
||||
"enable" : true,
|
||||
"start" : 0,
|
||||
"skip" : 89
|
||||
},
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "FaceTrackerRedetectAction",
|
||||
"type" : "face_tracker_redetect_action",
|
||||
"enable" : true,
|
||||
"detector" : {
|
||||
"criteria" : {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [{ "width" : 640, "height" : 360 }],
|
||||
"formats" : [3],
|
||||
"outputTypes" : [0]
|
||||
},
|
||||
"min_hint_width" : 80,
|
||||
"min_hint_height" : 80
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "FaceTrainSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"predicate" : {
|
||||
"type" : "face_training_predicate",
|
||||
"enable" : true,
|
||||
"criteria" : {
|
||||
"cameraIds" : [0]
|
||||
}
|
||||
},
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "FaceTrainingAction",
|
||||
"type" : "face_training_action",
|
||||
"enable" : true,
|
||||
"criteria" : {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [{ "width" : 640, "height" : 360 }],
|
||||
"outputTypes" : [0]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "EntityDetailSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "EntityDetailAction",
|
||||
"type" : "entity_detail_action",
|
||||
"enable" : true,
|
||||
"detector" : {
|
||||
"criteria" : {
|
||||
"dimensions" : [{ "width" : 640, "height" : 360 }],
|
||||
"formats" : [3],
|
||||
"outputTypes" : [0]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "VisualAwarenessSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"actions" : [
|
||||
{
|
||||
"name" : "VisualAwarenessUpdateAction",
|
||||
"type" : "visual_awareness_update_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "BarcodeSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "BarcodeRequestAction",
|
||||
"type" : "barcode_request_action",
|
||||
"enable" : true,
|
||||
"reader":{
|
||||
"types": {
|
||||
"EAN8" : false,
|
||||
"UPCE" : false,
|
||||
"ISBN10" : false,
|
||||
"UPCA" : false,
|
||||
"EAN13" : false,
|
||||
"ISBN13" : false,
|
||||
"I25" : false,
|
||||
"CODE39" : false,
|
||||
"PDF417" : false,
|
||||
"QRCODE" : true,
|
||||
"CODE128" : false
|
||||
}
|
||||
},
|
||||
"criteria" : {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [{ "width" : 1280, "height" : 720 }],
|
||||
"outputTypes" : [0]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "ControlChangeSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable": true,
|
||||
"actions": [
|
||||
{
|
||||
"name" : "ControlChangeRequestAction",
|
||||
"type" : "control_change_request_action",
|
||||
"enable" : true,
|
||||
"defaultResetTimeout": 7000
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "MotionSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "MotionImagerAction",
|
||||
"type" : "motion_imager_action",
|
||||
"enable" : true,
|
||||
"moving_delay" : 400,
|
||||
"image_width" : 128,
|
||||
"image_height" : 128,
|
||||
"accumulator_alpha" : 0.75,
|
||||
"criteria" : {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [{ "width" : 320, "height" : 180 }],
|
||||
"outputTypes" : [0]
|
||||
},
|
||||
"motion_timeout" : 100
|
||||
},
|
||||
{
|
||||
"name" : "MotionDetectionAction",
|
||||
"type" : "motion_detection_action",
|
||||
"enable" : true,
|
||||
"moving_delay" : 400,
|
||||
"detector": {
|
||||
"min_width" : 10,
|
||||
"min_height" : 10,
|
||||
"criteria" : {
|
||||
"cameraIds" : [0]
|
||||
},
|
||||
"threshold" : {
|
||||
"dynamic": true,
|
||||
"low": 5,
|
||||
"high": 50,
|
||||
"ae":{
|
||||
"gain":16.0,
|
||||
"time":0.0333
|
||||
},
|
||||
"awb":{
|
||||
"red":4.0,
|
||||
"green":4.0,
|
||||
"blue": 4.0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "MotionTrackerInitAction",
|
||||
"type" : "motion_tracker_init_action",
|
||||
"enable" : true,
|
||||
"moving_delay" : 400,
|
||||
"max_tracked" : 2,
|
||||
"pool" : {
|
||||
"format" : 1,
|
||||
"width" : 128,
|
||||
"height" : 128,
|
||||
"size" : 8
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "MotionTrackerUpdateAction",
|
||||
"type" : "motion_tracker_update_action",
|
||||
"enable" : true,
|
||||
"moving_delay" : 400,
|
||||
"pool" : {
|
||||
"format" : 1,
|
||||
"width" : 128,
|
||||
"height" : 128,
|
||||
"size" : 8
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "FaceTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "FaceTimeAction",
|
||||
"type" : "face_time_action",
|
||||
"enable" : true,
|
||||
"drop_radius" : 0.3,
|
||||
"fence_radius" : 4.0,
|
||||
"ceiling_height": 2.0,
|
||||
"floor_height": -2.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "FaceEvaluateTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"predicate" : {
|
||||
"type" : "min_period_predicate",
|
||||
"enable" : true,
|
||||
"min_period" : 1.1
|
||||
},
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "PersonEvaluationAction",
|
||||
"type" : "person_evaluation_action",
|
||||
"enable" : true,
|
||||
"unknown_age_limit":1.5,
|
||||
"not_trained_age_limit":20.0,
|
||||
"refresh_limit":50.0
|
||||
},
|
||||
{
|
||||
"name" : "PresenceTimeAction",
|
||||
"type" : "presence_time_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "SpeakerTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "SpeakerTimeAction",
|
||||
"type" : "speaker_time_action",
|
||||
"enable" : true,
|
||||
"expiration": 60000
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AwarenessTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "AwarenessTimeAction",
|
||||
"type" : "awareness_time_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "MotionTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "MotionTimeAction",
|
||||
"type" : "motion_time_action",
|
||||
"enable" : true,
|
||||
"drop_radius" : 0.3,
|
||||
"fence_radius" : 4.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AudioTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "AudioTimeAction",
|
||||
"type" : "audio_time_action",
|
||||
"enable" : true,
|
||||
"event_timeout" : 5.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "PresenceTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "PresenceTimeAction",
|
||||
"type" : "presence_time_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AudioDetectSchema",
|
||||
"type" : "audio_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "AudioDetectionAction",
|
||||
"type" : "audio_detection_action",
|
||||
"enable" : true
|
||||
},
|
||||
{
|
||||
"name" : "AudioMeasurementAction",
|
||||
"type" : "audio_measurement_action",
|
||||
"enable" : true,
|
||||
"audio_angle_tolerance" : 0.5,
|
||||
"audio_time_tolerance" : 0.35,
|
||||
"in_fov_margin" : 0.1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AudioAwarenessSchema",
|
||||
"type" : "audio_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "AudioAwarenessAction",
|
||||
"type" : "audio_awareness_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AxisUpdateSchema",
|
||||
"type" : "axis_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "GeometryUpdateAction",
|
||||
"type" : "geometry_update_action",
|
||||
"enable" : true
|
||||
},
|
||||
{
|
||||
"name" : "MotionTrackerAxisUpdateAction",
|
||||
"type" : "motion_tracker_axis_update_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
212
V3.1/build/usr/local/etc/lps/schemas/minimal.json
Normal file
212
V3.1/build/usr/local/etc/lps/schemas/minimal.json
Normal file
@@ -0,0 +1,212 @@
|
||||
{
|
||||
"schemas" :[
|
||||
{
|
||||
"name" : "EntityDetailSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "EntityDetailAction",
|
||||
"type" : "entity_detail_action",
|
||||
"enable" : true,
|
||||
"detector" : {
|
||||
"criteria" : {
|
||||
"dimensions" : [{ "width" : 640, "height" : 360 }],
|
||||
"formats" : [3],
|
||||
"outputTypes" : [0]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "VisualAwarenessSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"actions" : [
|
||||
{
|
||||
"name" : "VisualAwarenessUpdateAction",
|
||||
"type" : "visual_awareness_update_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "BarcodeSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "BarcodeRequestAction",
|
||||
"type" : "barcode_request_action",
|
||||
"enable" : true,
|
||||
"reader":{
|
||||
"types": {
|
||||
"EAN8" : false,
|
||||
"UPCE" : false,
|
||||
"ISBN10" : false,
|
||||
"UPCA" : false,
|
||||
"EAN13" : false,
|
||||
"ISBN13" : false,
|
||||
"I25" : false,
|
||||
"CODE39" : false,
|
||||
"PDF417" : false,
|
||||
"QRCODE" : true,
|
||||
"CODE128" : false
|
||||
}
|
||||
},
|
||||
"criteria" : {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [{ "width" : 1280, "height" : 720 }],
|
||||
"outputTypes" : [0]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "ControlChangeSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable": true,
|
||||
"actions": [
|
||||
{
|
||||
"name" : "ControlChangeRequestAction",
|
||||
"type" : "control_change_request_action",
|
||||
"enable" : true,
|
||||
"defaultResetTimeout": 7000
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "FaceTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "FaceTimeAction",
|
||||
"type" : "face_time_action",
|
||||
"enable" : true,
|
||||
"drop_radius" : 0.3,
|
||||
"fence_radius" : 4.0,
|
||||
"ceiling_height": 2.0,
|
||||
"floor_height": -2.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AwarenessTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "AwarenessTimeAction",
|
||||
"type" : "awareness_time_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "MotionTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "MotionTimeAction",
|
||||
"type" : "motion_time_action",
|
||||
"enable" : true,
|
||||
"drop_radius" : 0.3,
|
||||
"fence_radius" : 4.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AudioTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "AudioTimeAction",
|
||||
"type" : "audio_time_action",
|
||||
"enable" : true,
|
||||
"event_timeout" : 5.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "PresenceTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "PresenceTimeAction",
|
||||
"type" : "presence_time_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AudioDetectSchema",
|
||||
"type" : "audio_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "AudioDetectionAction",
|
||||
"type" : "audio_detection_action",
|
||||
"enable" : true
|
||||
},
|
||||
{
|
||||
"name" : "AudioMeasurementAction",
|
||||
"type" : "audio_measurement_action",
|
||||
"enable" : true,
|
||||
"audio_angle_tolerance" : 0.5,
|
||||
"audio_time_tolerance" : 0.35,
|
||||
"in_fov_margin" : 0.1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AudioPresenceSchema",
|
||||
"type" : "audio_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "SpeakerPresenceAudioAction",
|
||||
"type" : "speaker_presence_audio_action",
|
||||
"enable" : true,
|
||||
"audio_angle_tolerance" : 0.5,
|
||||
"audio_time_tolerance" : 0.35,
|
||||
"in_fov_margin" : 0.1,
|
||||
"presence_timeout" : 10.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AudioAwarenessSchema",
|
||||
"type" : "audio_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "AudioAwarenessAction",
|
||||
"type" : "audio_awareness_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AxisUpdateSchema",
|
||||
"type" : "axis_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "GeometryUpdateAction",
|
||||
"type" : "geometry_update_action",
|
||||
"enable" : true
|
||||
},
|
||||
{
|
||||
"name" : "MotionTrackerAxisUpdateAction",
|
||||
"type" : "motion_tracker_axis_update_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
495
V3.1/build/usr/local/etc/lps/schemas/normal.json
Normal file
495
V3.1/build/usr/local/etc/lps/schemas/normal.json
Normal file
@@ -0,0 +1,495 @@
|
||||
{
|
||||
"schemas" :[
|
||||
{
|
||||
"name" : "FaceDetectSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"predicate" : {
|
||||
"type" : "face_detection_predicate",
|
||||
"enable" : true,
|
||||
"start" : 0,
|
||||
"skip_with_tracks" : 30,
|
||||
"skip_without_tracks" : 10,
|
||||
"criteria" : {
|
||||
"cameraIds" : [0]
|
||||
}
|
||||
},
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "FaceDetectAction",
|
||||
"type" : "face_detection_action",
|
||||
"enable" : true,
|
||||
"policy_detector" : {
|
||||
"criteria" : {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [
|
||||
{ "width" : 1280, "height" : 720 },
|
||||
{ "width" : 80, "height" : 45 }
|
||||
],
|
||||
"formats" : [3, 1],
|
||||
"outputTypes" : [0, 2]
|
||||
},
|
||||
"detector" : {
|
||||
"min_hint_width" : 40,
|
||||
"min_hint_height" : 40
|
||||
},
|
||||
"policies" : [
|
||||
{
|
||||
"weight": 0.75,
|
||||
"kind": "skincolor",
|
||||
"sub_image_width" : 200,
|
||||
"sub_image_height" : 200,
|
||||
"extra_horizontal" : 20,
|
||||
"extra_vertical" : 20
|
||||
},
|
||||
{
|
||||
"weight": 0.25,
|
||||
"kind": "gaussian",
|
||||
"sub_image_width" : 200,
|
||||
"sub_image_height" : 200,
|
||||
"extra_horizontal" : 20,
|
||||
"extra_vertical" : 20
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "FaceTrackerInitAction",
|
||||
"type" : "face_tracker_init_action",
|
||||
"enable" : true,
|
||||
"max_tracked" : 3
|
||||
},
|
||||
{
|
||||
"name": "FaceTrackerIDAction",
|
||||
"type": "face_tracker_id_action",
|
||||
"enable": true,
|
||||
"criteria": {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [{ "width" : 1280, "height" : 720 }],
|
||||
"formats" : [3],
|
||||
"outputTypes" : [0]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "FaceTrackSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "FaceTrackerUpdate",
|
||||
"type" : "face_tracker_update_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "FaceTrackPoseEstimateSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : false,
|
||||
"predicate" : {
|
||||
"type" : "face_tracker_pose_estimate_predicate",
|
||||
"enable" : true,
|
||||
"start" : 4,
|
||||
"skip" : 11
|
||||
},
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "FaceTrackerPoseEstimate",
|
||||
"type" : "face_tracker_pose_estimate_action",
|
||||
"enable" : true,
|
||||
"hflip" : true,
|
||||
"vflip" : false,
|
||||
"criteria" : {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [{ "width" : 640, "height" : 360 }],
|
||||
"formats" : [3],
|
||||
"outputTypes" : [0]
|
||||
},
|
||||
"detector" : {
|
||||
"criteria" : {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [{ "width" : 640, "height" : 360 }],
|
||||
"formats" : [3],
|
||||
"outputTypes" : [0]
|
||||
},
|
||||
"min_hint_width" : 80,
|
||||
"min_hint_height" : 80
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "FaceTrackRedetectSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"predicate" : {
|
||||
"type" : "face_reevaluate_predicate",
|
||||
"enable" : true,
|
||||
"start" : 0,
|
||||
"skip" : 3
|
||||
},
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "PersonRedetectAction",
|
||||
"type" : "person_redetect_action",
|
||||
"enable" : true,
|
||||
"detector" : {
|
||||
"criteria" : {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [{ "width" : 1280, "height" : 720 }],
|
||||
"formats" : [3],
|
||||
"outputTypes" : [0]
|
||||
},
|
||||
"min_hint_width" : 80,
|
||||
"min_hint_height" : 80
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "DeferredDetectSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "DeferredDetectionAction",
|
||||
"type" : "deferred_detection_action",
|
||||
"enable" : true,
|
||||
"detector" : {
|
||||
"criteria" : {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [{ "width" : 640, "height" : 360 }],
|
||||
"formats" : [3],
|
||||
"outputTypes" : [0]
|
||||
},
|
||||
"min_hint_width" : 80,
|
||||
"min_hint_height" : 80
|
||||
},
|
||||
"max_tracked": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "FaceTrainSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"predicate" : {
|
||||
"type" : "face_training_predicate",
|
||||
"enable" : true
|
||||
},
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "FaceTrainingAction",
|
||||
"type" : "face_training_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "EntityDetailSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "EntityDetailAction",
|
||||
"type" : "entity_detail_action",
|
||||
"enable" : true,
|
||||
"detector" : {
|
||||
"criteria" : {
|
||||
"dimensions" : [{ "width" : 640, "height" : 360 }],
|
||||
"formats" : [3],
|
||||
"outputTypes" : [0]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "VisualAwarenessSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"actions" : [
|
||||
{
|
||||
"name" : "VisualAwarenessUpdateAction",
|
||||
"type" : "visual_awareness_update_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "BarcodeSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "BarcodeRequestAction",
|
||||
"type" : "barcode_request_action",
|
||||
"enable" : true,
|
||||
"reader":{
|
||||
"types": {
|
||||
"EAN8" : false,
|
||||
"UPCE" : false,
|
||||
"ISBN10" : false,
|
||||
"UPCA" : false,
|
||||
"EAN13" : false,
|
||||
"ISBN13" : false,
|
||||
"I25" : false,
|
||||
"CODE39" : false,
|
||||
"PDF417" : false,
|
||||
"QRCODE" : true,
|
||||
"CODE128" : false
|
||||
}
|
||||
},
|
||||
"criteria" : {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [{ "width" : 1280, "height" : 720 }],
|
||||
"outputTypes" : [0]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "ControlChangeSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable": true,
|
||||
"actions": [
|
||||
{
|
||||
"name" : "ControlChangeRequestAction",
|
||||
"type" : "control_change_request_action",
|
||||
"enable" : true,
|
||||
"defaultResetTimeout": 7000
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "MotionSchema",
|
||||
"type" : "image_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "MotionImagerAction",
|
||||
"type" : "motion_imager_action",
|
||||
"enable" : true,
|
||||
"moving_delay" : 400,
|
||||
"image_width" : 128,
|
||||
"image_height" : 128,
|
||||
"accumulator_alpha" : 0.75,
|
||||
"criteria" : {
|
||||
"cameraIds" : [0],
|
||||
"dimensions" : [{ "width" : 320, "height" : 180 }],
|
||||
"outputTypes" : [0]
|
||||
},
|
||||
"motion_timeout" : 100
|
||||
},
|
||||
{
|
||||
"name" : "MotionDetectionAction",
|
||||
"type" : "motion_detection_action",
|
||||
"enable" : true,
|
||||
"moving_delay" : 400,
|
||||
"detector": {
|
||||
"min_width" : 10,
|
||||
"min_height" : 10,
|
||||
"criteria" : {
|
||||
"cameraIds" : [0]
|
||||
},
|
||||
"threshold" : {
|
||||
"dynamic": true,
|
||||
"low": 5,
|
||||
"high": 50,
|
||||
"ae":{
|
||||
"gain":16.0,
|
||||
"time":0.0333
|
||||
},
|
||||
"awb":{
|
||||
"red":4.0,
|
||||
"green":4.0,
|
||||
"blue": 4.0
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "MotionTrackerInitAction",
|
||||
"type" : "motion_tracker_init_action",
|
||||
"enable" : true,
|
||||
"moving_delay" : 400,
|
||||
"max_tracked" : 3,
|
||||
"pool" : {
|
||||
"format" : 1,
|
||||
"width" : 128,
|
||||
"height" : 128,
|
||||
"size" : 8
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "MotionTrackerUpdateAction",
|
||||
"type" : "motion_tracker_update_action",
|
||||
"enable" : true,
|
||||
"moving_delay" : 400,
|
||||
"pool" : {
|
||||
"format" : 1,
|
||||
"width" : 128,
|
||||
"height" : 128,
|
||||
"size" : 8
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "FaceTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "FaceTimeAction",
|
||||
"type" : "face_time_action",
|
||||
"enable" : true,
|
||||
"drop_radius" : 0.3,
|
||||
"fence_radius": 4.0,
|
||||
"ceiling_height": 2.0,
|
||||
"floor_height": -2.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "FaceEvaluateTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"predicate" : {
|
||||
"type" : "min_period_predicate",
|
||||
"enable" : true,
|
||||
"min_period" : 1.1
|
||||
},
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "PersonEvaluationAction",
|
||||
"type" : "person_evaluation_action",
|
||||
"enable" : true,
|
||||
"unknown_age_limit":10.0,
|
||||
"not_trained_age_limit":20.0,
|
||||
"refresh_limit":50.0
|
||||
},
|
||||
{
|
||||
"name" : "PresenceTimeAction",
|
||||
"type" : "presence_time_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "SpeakerTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "SpeakerTimeAction",
|
||||
"type" : "speaker_time_action",
|
||||
"enable" : true,
|
||||
"expiration": 60000
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AwarenessTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "AwarenessTimeAction",
|
||||
"type" : "awareness_time_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "MotionTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "MotionTimeAction",
|
||||
"type" : "motion_time_action",
|
||||
"enable" : true,
|
||||
"drop_radius" : 0.3,
|
||||
"fence_radius": 4.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AudioTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "AudioTimeAction",
|
||||
"type" : "audio_time_action",
|
||||
"enable" : true,
|
||||
"event_timeout" : 5.0
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "PresenceTimeSchema",
|
||||
"type" : "time_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "PresenceTimeAction",
|
||||
"type" : "presence_time_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AudioDetectSchema",
|
||||
"type" : "audio_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "AudioDetectionAction",
|
||||
"type" : "audio_detection_action",
|
||||
"enable" : true
|
||||
},
|
||||
{
|
||||
"name" : "AudioMeasurementAction",
|
||||
"type" : "audio_measurement_action",
|
||||
"enable" : true,
|
||||
"audio_angle_tolerance" : 0.5,
|
||||
"audio_time_tolerance" : 0.35,
|
||||
"in_fov_margin" : 0.1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AudioAwarenessSchema",
|
||||
"type" : "audio_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "AudioAwarenessAction",
|
||||
"type" : "audio_awareness_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "AxisUpdateSchema",
|
||||
"type" : "axis_update_schema",
|
||||
"enable" : true,
|
||||
"actions" :[
|
||||
{
|
||||
"name" : "GeometryUpdateAction",
|
||||
"type" : "geometry_update_action",
|
||||
"enable" : true
|
||||
},
|
||||
{
|
||||
"name" : "MotionTrackerAxisUpdateAction",
|
||||
"type" : "motion_tracker_axis_update_action",
|
||||
"enable" : true
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user