示例#1
0
        public void GeneralWithLocatin(string filePath)
        {
            var image = File.ReadAllBytes(filePath);

            // 带位置版本
            var result = client.GeneralWithLocatin(image, null);
        }
示例#2
0
        public static void GeneralWithLocatin()
        {
            var client = new Ocr.Ocr(Config.clientId, Config.clientSecret);
            var image  = File.ReadAllBytes("图片文件路径");

            // 带位置版本
            var result = client.GeneralWithLocatin(image, null);
        }
示例#3
0
        public static void GeneralWithLocatin()
        {
            var client = new Ocr.Ocr("Api Key", "Secret Key");
            var image  = File.ReadAllBytes("图片文件路径");

            // 带位置版本
            var result = client.GeneralWithLocatin(image, null);
        }