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