Esempio n. 1
0
        public void GeneralWithLocatin(string filePath)
        {
            var image = File.ReadAllBytes(filePath);

            // 带位置版本
            var result = client.GeneralWithLocatin(image, null);
        }
Esempio n. 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);
        }
Esempio n. 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);
        }