video_box的demo程序崩溃

运行video_box demo时,有个致命错误导致程序崩溃

相关日志如下:

(media_pipeline.cc:86): vdec in grp:0 ret:0

(media_pipeline.cc:105): vdec out grp:0 ret:0

(media_pipeline.cc:138): vps in grp:0 ret:0

(media_pipeline.cc:146): vps out grp:0 ret:0

(convert.cc:48): vio message, frame_id = 135

(convert.cc:60): Input Frame ID = 135, Timestamp = 0

(convert.cc:78): input name:image

(runtime_monitor.cc:38): PushFrame frame_id = 135

(mot_method.cc:71): MOTMethod::DoProcess

(mot_method.cc:71): MOTMethod::DoProcess

(mot_method.cc:71): MOTMethod::DoProcess

(mot_method.cc:78): mot

(mot_method.cc:78): mot

(mot_method.cc:78): mot

(merge_method.cc:116): Head body Mode

(head_body.cc:145): Process HeadBodyStrategy output

(facesnap_filter_method.cc:102): filter mode

(snapshot_method.cc:57): SnapShotMethod::DoProcess

(snapshot_method.cc:97): Select Mode

(first_num_best.cc:45): SnapShot Mode

(first_num_best.cc:153): Post Track Size:0

(snapshot_method.cc:64): DoProcess cost(ms):0.103163

(runtime_monitor.cc:62): Pop frame 135

(runtime_monitor.cc:69): chn 0 erase:135

(rtsp_message.cc:47): call ~ImageVioMessage

(plot_smart_data.cc:230): recog fail,ch:0,track_id:22

(plot_smart_data.cc:230): recog fail,ch:0,track_id:1

(plot_smart_data.cc:230): recog fail,ch:0,track_id:20

(media_pipeline.cc:86): vdec in grp:0 ret:0

(media_pipeline.cc:105): vdec out grp:0 ret:0

(media_pipeline.cc:138): vps in grp:0 ret:0

(media_pipeline.cc:146): vps out grp:0 ret:0

(convert.cc:48): vio message, frame_id = 136

(convert.cc:60): Input Frame ID = 136, Timestamp = 0

(convert.cc:78): input name:image

(runtime_monitor.cc:38): PushFrame frame_id = 136

(mot_method.cc:71): MOTMethod::DoProcess

(mot_method.cc:71): MOTMethod::DoProcess

(mot_method.cc:78): mot

(mot_method.cc:78): mot

(mot_method.cc:71): MOTMethod::DoProcess

(mot_method.cc:78): mot

(merge_method.cc:116): Head body Mode

(head_body.cc:145): Process HeadBodyStrategy output

(facesnap_filter_method.cc:102): filter mode

(snapshot_method.cc:57): SnapShotMethod::DoProcess

(snapshot_method.cc:97): Select Mode

(first_num_best.cc:45): SnapShot Mode

(first_num_best.cc:153): Post Track Size:1

(snapshot_method.cc:64): DoProcess cost(ms):0.172786

(smart_plugin.cc:278): snap_v size:1

(runtime_monitor.cc:62): Pop frame 136

(runtime_monitor.cc:69): chn 0 erase:136

(rtsp_message.cc:47): call ~ImageVioMessage

(plot_smart_data.cc:230): recog fail,ch:0,track_id:22

(plot_smart_data.cc:230): recog fail,ch:0,track_id:1

(convert.cc:1102): Capture target num is 1

(convert.cc:1104): feature target num is 1

Segmentation fault (core dumped)

您好,recog 未开放,暂不支持识别

有技术在吗????

您好,修改了哪些内容呢?做的具体操作是?

没有修改任何代码。只是修改了配置文件。

具体修改如下:

1把video_box_config.json里的enable_recog改为了true。

2rtsp.json里的流地址改为实际的RTSP流地址。

3ware_config.json里的 is_recognize 改为true,

video_box_config.json参考如下:

{-
“xstream_workflow_file”: “./video_box/configs/body_detection.json”,-
“xstream_workflow_file_pic”: “./video_box/configs/recog_flow.json”,-
“xstream_workflow_file_feature”: “./video_box/configs/feature_flow.json”,-
“enable_recog”: true,-
“enable_profile”: 0,-
“profile_log_path”: “”,-
“enable_result_to_json”: false,-
“box_face_thr”: 0.95,-
“box_head_thr”: 0.95,-
“box_body_thr”: 0.95,-
“lmk_thr”: 0.0,-
“kps_thr”: 0.50,-
“box_veh_thr”: 0.995,-
“plot_fps”: false,-
“rtsp_config_file”: “./video_box/configs/rtsp.json”,-
“display_config_file”: “./video_box/configs/display.json”,-
“drop_frame_config_file”: “./video_box/configs/drop_frames.json”,-
“run_smart”: true-
}

ware_config.json修改如下:

{-
“is_recognize”: true,-
“is_add_record”: true-
}