Intel® Distribution of OpenVINO™ Toolkit
Community assistance about the Intel® Distribution of OpenVINO™ toolkit, OpenCV, and all aspects of computer vision-related on Intel® platforms.

[ ERROR ] regex_error from CentOS 7.4 to run OpenVINO of sample

xuan__zhuang
Beginner
689 Views

Hi,

   I am using CentOS 7.4, and OpenVINO 2020.1.023, gcc (GCC) 4.8.5, then getting the below error , please help to find the root cause.

 

[xuan@xuan Release]$ ./human_pose_estimation_demo -i /home/xuan/sample-videos-master/head-pose-face-detection-female.mp4 -m /home/xuan/openvino/open_model_zoo/tools/downloader/intel/human-pose-estimation-0001/FP16/human-pose-estimation-0001.xml 

InferenceEngine: 0x7efe3014b030 

Parsing input parameters 

To close the application, press 'CTRL+C' here or switch to the output window and press ESC key 

To pause execution, switch to the output window and press 'p' key 

[ ERROR ] regex_error

 

Regards,

xuanzhuang

0 Kudos
1 Solution
Maksim_S_Intel
Employee
689 Views

GCC on CentOS 7 is quite old and does not have std::regex implementation (https://stackoverflow.com/questions/35793340/function-regex-of-c-meet-error-in-linuxcentos-but-in-osx). Recently open_model_zoo has added memory and cpu monitoring features which use std::regex (https://github.com/opencv/open_model_zoo/blob/efd238d02035f8a5417b7b1e25cd4c997d44351f/demos/common/monitors/memory_monitor.cpp, https://github.com/opencv/open_model_zoo/blob/efd238d02035f8a5417b7b1e25cd4c997d44351f/demos/common/monitors/cpu_monitor.cpp).

As I can see memory and cpu monitoring can be enabled by the "-u" option (empty by default), but it seems it still tries to parse something. I'd recommend you to file an issue report here: https://github.com/opencv/open_model_zoo/issues

View solution in original post

0 Kudos
2 Replies
JAIVIN_J_Intel
Employee
689 Views

Hi xuanzhuang,

Are you able to successfully run the demo_security_barrier_camera.sh Verification Script ?

Also, are you trying to remotely access this machine?

Regards,

Jaivin

0 Kudos
Maksim_S_Intel
Employee
690 Views

GCC on CentOS 7 is quite old and does not have std::regex implementation (https://stackoverflow.com/questions/35793340/function-regex-of-c-meet-error-in-linuxcentos-but-in-osx). Recently open_model_zoo has added memory and cpu monitoring features which use std::regex (https://github.com/opencv/open_model_zoo/blob/efd238d02035f8a5417b7b1e25cd4c997d44351f/demos/common/monitors/memory_monitor.cpp, https://github.com/opencv/open_model_zoo/blob/efd238d02035f8a5417b7b1e25cd4c997d44351f/demos/common/monitors/cpu_monitor.cpp).

As I can see memory and cpu monitoring can be enabled by the "-u" option (empty by default), but it seems it still tries to parse something. I'd recommend you to file an issue report here: https://github.com/opencv/open_model_zoo/issues

0 Kudos
Reply