public bool Load(string path) { if (Matching == null) { Matching = new MatchingModule(); Matching.InitMatchingParam(this); } //string tempName = path + "ModelImage.shm"; TemplatePath = path; if (!FileLib.DirectoryEx.Exist(TemplatePath, false)) { return(false); } IsLoadOK = Matching.LoadShapeModel(TemplatePath); return(IsLoadOK); }