public void GeneralWithLocatin(string filePath) { var image = File.ReadAllBytes(filePath); // 带位置版本 var result = client.GeneralWithLocatin(image, null); }
public static void GeneralWithLocatin() { var client = new Ocr.Ocr(Config.clientId, Config.clientSecret); var image = File.ReadAllBytes("图片文件路径"); // 带位置版本 var result = client.GeneralWithLocatin(image, null); }
public static void GeneralWithLocatin() { var client = new Ocr.Ocr("Api Key", "Secret Key"); var image = File.ReadAllBytes("图片文件路径"); // 带位置版本 var result = client.GeneralWithLocatin(image, null); }