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);
        }
Exemplo n.º 2
0
 public Discord(IComputerVision computerVision)
 {
     _computerVision = computerVision;
 }