Browse Source

智能算法增加遮挡检测

zhangdongming 7 months ago
parent
commit
57a0213d86
2 changed files with 4 additions and 1 deletions
  1. 2 1
      AnsjerPush/Config/aiConfig.py
  2. 2 0
      AnsjerPush/config.py

+ 2 - 1
AnsjerPush/Config/aiConfig.py

@@ -48,6 +48,7 @@ DEVICE_EVENT_TYPE = {
     32768: 71,
     65536: 0,
     131072: 72,
+    262144: 73,
 }
 
-ALGORITHM_COMBO_TYPES = [51, 57, 58, 60, 59, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 0, 72]
+ALGORITHM_COMBO_TYPES = [51, 57, 58, 60, 59, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 0, 72, 73]

+ 2 - 0
AnsjerPush/config.py

@@ -181,6 +181,7 @@ EVENT_DICT_CN = {
     70: '看不到宝宝的脸了,快去看看!',
     71: '有包裹出现',
     72: '检测到电动车',
+    73: '检测到遮挡',
 }
 
 EVENT_DICT = {
@@ -209,6 +210,7 @@ EVENT_DICT = {
     70: 'Cant see the baby\'s face now, go take a look!',
     71: 'Package detected ',
     72: 'Battery operated vehicle detected',
+    73: 'Occlusion detected'
 }
 
 # 小米推送通知类别id