public static IComputerVision CreateVisionClass(VisionAPIType type, AnalyzeOptions opt) { IComputerVision res = null; switch (type) { case VisionAPIType.AzureVisionAnalyze: res = new AzureVisionAnalyze(opt); break; case VisionAPIType.BaiduAnimalAnalyze: res = new BaiduVisionAnalyze(opt); break; case VisionAPIType.BaiduEasyDL: res = new BaiduEazyDL(opt); break; } return(res); }
public Discord(IComputerVision computerVision) { _computerVision = computerVision; }