feat: 增加base64传入动作指令
feat: 换用 deepseek 大模型 pref: 修改应急避险2停车条件
This commit is contained in:
@@ -17,13 +17,7 @@ while True:
|
||||
if resp.get('code') == 0:
|
||||
text = ''
|
||||
for item in resp.get('content'):
|
||||
if item['probability']['average'] < 0.90:
|
||||
continue
|
||||
box = item['location']
|
||||
center_x = box['left'] + box['width'] / 2
|
||||
center_y = box['top'] + box['height'] / 2
|
||||
if center_x < filter_w[0] or center_x > filter_w[1] \
|
||||
or center_y < filter_h[0] or center_y > filter_h[1]:
|
||||
if item['probability']['average'] < 0.80:
|
||||
continue
|
||||
text += item['words']
|
||||
print(text)
|
||||
|
||||
Reference in New Issue
Block a user