diff --git a/yolo/cv_multi_model_back_video.py b/yolo/cv_multi_model_back_video.py index 656bc88..32e6939 100644 --- a/yolo/cv_multi_model_back_video.py +++ b/yolo/cv_multi_model_back_video.py @@ -3571,7 +3571,8 @@ async def send_frame_to_s3_mq(loop,upload_executor,task_id, mqtt, mqtt_topic, ca "count_message":count_message, "high_count_warn":{ "high_count_warn_status":high_count_warn_status, - "high_count_warn_num":high_count_warn_num + "high_count_warn_num":high_count_warn_num, + "high_count_warn":high_count_warn }, "des_location":des_location_result } diff --git a/yolo_api.py b/yolo_api.py index 1fc8d4c..ec94d6f 100644 --- a/yolo_api.py +++ b/yolo_api.py @@ -54,16 +54,23 @@ service_status = {"is_healthy": True, "last_error": None, "error_time": None} # "user": "postgres", # "password": "root" # } - +# +# DB_CONFIG = { +# "dbname": "smart_dev_123", +# "user": "postgres", +# "password": "root", +# "host": "8.137.54.85", +# "port": "5060" +# } +#正式数据库 DB_CONFIG = { - "dbname": "smart_dev_123", + "dbname": "smart_dev", "user": "postgres", - "password": "root", - "host": "8.137.54.85", - "port": "5060" + "password": "StrongPassword@123", + "host": "222.212.85.86", + "port": "5061" } - # 什邡数据库 # DB_CONFIG = { # "dbname": "postgres",