/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2017, Carnegie Mellon University and University of Cambridge, // all rights reserved. // // ACADEMIC OR NON-PROFIT ORGANIZATION NONCOMMERCIAL RESEARCH USE ONLY // // BY USING OR DOWNLOADING THE SOFTWARE, YOU ARE AGREEING TO THE TERMS OF THIS LICENSE AGREEMENT. // IF YOU DO NOT AGREE WITH THESE TERMS, YOU MAY NOT USE OR DOWNLOAD THE SOFTWARE. // // License can be found in OpenFace-license.txt // // Precompiled headers stuff #ifndef __STDAFX_h_ #define __STDAFX_h_ // OpenCV includes #include #include #include #include #include #include // dlib dependencies for face detection #include #include // C++ stuff #include #include #include #include #include #include #define _USE_MATH_DEFINES #include // Boost stuff #include #include // OpenBLAS stuff #include // Instead of including cblas.h and f77blas.h (the definitions from OpenBLAS and other BLAS libraries differ, declare the required OpenBLAS functionality here) #ifdef __cplusplus extern "C" { /* Assume C declarations for C++ */ #endif /* __cplusplus */ /*Set the number of threads on runtime.*/ void openblas_set_num_threads(int num_threads); void sgemm_(char *, char *, blasint *, blasint *, blasint *, float *, float *, blasint *, float *, blasint *, float *, float *, blasint *); } #endif