public static extern long ASFDetectFaces(
            IntPtr hEngine,
            int width,
            int height,
            int format,
            IntPtr imgData,
            IntPtr detectedFaces,//ArcFaceEngine.ASF_MultiFaceInfo
            ArcFaceEngine.ASF_DetectModel detectModel = ArcFaceEngine.ASF_DetectModel.ASF_DETECT_MODEL_RGB

            );
 public static extern long ASFDetectFacesEX(
     IntPtr hEngine,
     IntPtr imgData, // = LPASVLOFFSCREEN = ASVLOFFSCREEN*
     IntPtr detectedFaces,
     ArcFaceEngine.ASF_DetectModel detectModel = ArcFaceEngine.ASF_DetectModel.ASF_DETECT_MODEL_RGB
     );