libfacedetection
libfacedetection copied to clipboard
How to make Multi-thread in Ubuntu18.04?
Hello, Mr Yu, Firstly,thank you for your detection source code ,and I want to know how to make Multi-thread in Ubuntu18.04? I try : air@air-G3-3590:~/Tengine/libfacedetection/build$ cmake -O3 .. ; make and I test, however it run in my PC at the same FPS, 17fps ,the same as air@air-G3-3590:~/Tengine/libfacedetection/build$ cmake .. ; make So the sencond question is what is mean "-O3", and how to use it ?
After you run "cmake .." you will be promoted if OPENMP is enabled. If you aren't sure, you can post the output of cmake here.
Thank you for reply cmake result as follow: Can you help me ? I can't solve it by myself. Maybe install OPENMP? I don't konw.
------------------ Original ------------------ From: "Shiqi Yu";[email protected]; Send time: Saturday, Mar 7, 2020 2:44 PM To: "ShiqiYu/libfacedetection"[email protected]; Cc: "章星星"[email protected]; "Author"[email protected]; Subject: Re: [ShiqiYu/libfacedetection] How to make Multi-thread inUbuntu18.04? (#210)
After you run "cmake .." you will be promoted if OPENMP is enabled. If you aren't sure, you can post the output of cmake here.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
air@air-G3-3590:~/Tengine/libfacedetection/build$ cmake .. -- The C compiler identification is GNU 6.5.0 -- The CXX compiler identification is GNU 6.5.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found OpenCV: /usr (found version "3.2.0") AVX512 = OFF AVX2 = ON NEON = OFF OpenMP = DEMO = ON -- Configuring done -- Generating done -- Build files have been written to: /home/air/Tengine/libfacedetection/build air@air-G3-3590:~/Tengine/libfacedetection/build$