native library should be load as a singleton by FaceDetector