图片网址无法访问 [英] Image URL is not accesible

查看:52
本文介绍了图片网址无法访问的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我正在尝试将jpg图像发送到此IP摄像机拍摄的Oxford OCR服务:http:// guest:guest12@158.49.245.70:27654 / jpg / image.jpg

Hello, I was trying to send a jpg image to Oxford OCR service taken by this IP camera: http://guest:guest12@158.49.245.70:27654/jpg/image.jpg

我收到的回复是"图片网址无法访问"。我不知道错误在哪里。可以通过我的网络浏览器访问该网址。用户名(访客)或密码(访客12)是否有问题?

The response I got is "Image URL is not accessible". I don't know where could be the error. The url is accessible through my web browser. Is there any problem with the username (guest) or password (guest12) ?

推荐答案

项目牛津服务目前不支持。

This is not currently supported by the Project Oxford services.

解决方法是在本地加载图像,然后在主体中发送原始字节以及标头
Content-Type:application / octet-stream 。这可能是一个更好的解决方案,因为auth信息以明文形式出现。

The workaround is to locally load the image and then send the raw bytes in the body along with the header Content-Type: application/octet-stream. This might be a preferable solution for you since the auth information is otherwise going out in the clear.


这篇关于图片网址无法访问的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆