首页 版块 访问AI主站 注册 发帖
zou921014
27
积分 积分商城
0
获赞
原帖已删除
Ta的回复 :unity 接入,也需要token?  client = new Ocr(API_KEY, SECRET_KEY); client.Timeout = 60000; var result = client.GeneralBasic(imageTytes); 这样调用,为什么识别不出来文字,异常了System.Net.WebException: Error writing request: The authentication or decryption has failed.
0
c#调用AipSdk文字识别的问题
Ta的回复 :为什么我识别不出来,对版本有什么要求么,  我是用的unity5.6.3 client = new Ocr(API_KEY, SECRET_KEY); client.Timeout = 60000; var result = client.AccurateBasic(imageTytes); var result = client.GeneralBasic(imageTytes); 这2个方法都识别不出来,报了这个异常System.Net.WebException: Error writing request: The authentication or decryption has failed.  能指点一二么
5
c# 文字识别有异常
Ta的回复 :异常:System.Net.WebException: Error writing request: The authentication or decryption has failed. at System.Net.WebConnectionStream.WriteHeaders () [0x00000] in :0 at System.Net.WebConnectionStream.SetHeaders (System.Byte[] buffer) [0x00000] in :0 at (wrapper remoting-invoke-with-check) System.Net.WebConnectionStream:SetHeaders (byte[]) at System.Net.HttpWebRequest.SendRequestHeaders (Boolean propagate_error) [0x00000] in :0
10
c# 文字识别有异常
Ta的回复 :public class Ocr : AipServiceBase { public Ocr(string apiKey, string secretKey); api里只有2个参数的构造函数
10
【只要10分钟 快速掌握文字识别】
Ta的回复 :异常:System.Net.WebException: Error writing request: The authentication or decryption has failed. at System.Net.WebConnectionStream.WriteHeaders () [0x00000] in :0 at System.Net.WebConnectionStream.SetHeaders (System.Byte[] buffer) [0x00000] in :0 at (wrapper remoting-invoke-with-check) System.Net.WebConnectionStream:SetHeaders (byte[]) at System.Net.HttpWebRequest.SendRequestHeaders (Boolean propagate_error) [0x00000] in :0   这个错误怎么处理
303
c# 文字识别有异常
Ta的回复 :嗯, 去了试了也是一样报错,就几句代码你能试下可以识别么
10
unity c#调用文字识别
Ta的回复 :[图片] 就是取的这2俩个值
4
unity c#调用文字识别
Ta的回复 :如果成功有值,这是返回一个json格式的字符串。 有值是能输出的{"log_id": 8925564128101011311, "words_result_num": 1, "words_result": [{"location": {"width": 89, "top": 0, "left": 84, "height": 47}, "words": "2020"}]
4
c# 文字识别有异常
Ta的回复 :感谢,用post请求可以识别了,我以为sdk直接封装好了,看来还是得自己去请求
10
c# 文字识别有异常
Ta的回复 :好的,感谢
10
1秒调用一次文字识别,出现卡顿
Ta的回复 :unity3d,摄像头抓取画面,一秒钟调用一次图片识别接口Ocr client.GeneralBasic(),检测图片中的文字,画面出现明显卡帧现象,不调用就很流畅。
3
切换版块
智能客服