// Start is called before the first frame update void Start() { _faceDetector = gameObject.GetComponent <ObjectDetectionInference>(); _DlibDetector = gameObject.GetComponent <DlibFaceDetection>(); if (!string.IsNullOrEmpty(model)) { model_filepath = Utils.getFilePath("dnn/" + model); } if (!string.IsNullOrEmpty(input)) { input_filepath = Utils.getFilePath("dnn/" + input); } //var rep1 = GetRep(input_1); //var rep2 = GetRep(input_2); //double result = Core.norm(rep1, rep2, 5); //Debug.Log(result); //// squared L2 distance. //var diff = mat_1 - mat_2; //var result = diff.dot(diff); }
// Start is called before the first frame update void Start() { frameBreak = new WaitForEndOfFrame(); _detector = GetComponent <ObjectDetectionInference>(); httpLoader = GetComponent <HttpImageLoading>(); }