public static void BusinessLicense() { var client = new Ocr.Ocr(Config.clientId, Config.clientSecret); var image = File.ReadAllBytes("图片文件路径"); var result = client.BusinessLicense(image); }
public static void BusinessLicense(string path) { var client = new Ocr.Ocr(api, key); var image = File.ReadAllBytes(path); var result = client.BusinessLicense(image); }
public static void BusinessLicense() { var client = new Ocr.Ocr("Api Key", "Secret Key"); var image = File.ReadAllBytes("图片文件路径"); var result = client.BusinessLicense(image); }
public void BusinessLicense(string filePath) { var image = File.ReadAllBytes(filePath); var result = client.BusinessLicense(image); }