Face API入门Android无法正常运行 [英] Face API Get Started with Android not working

查看:92
本文介绍了Face API入门Android无法正常运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我目前正在为我现在的雇主寻找面部识别技术,并且遇到了Face API。我浏览了Android的入门教程,我尝试运行它。目前,该应用程序允许我浏览和选择照片,但它没有
显示给定脸部周围的红色矩形。经过一些调试后,我找到了错误的来源。有一个名为result的变量调用一个名为detect的方法。但是,结果总是在我的情况下返回null,所以问题必须在检测中。 I
然后去检测,现在认为错误在于以下代码:

 String json = this.restCall.request(uri, "POST",params,"application / octet-stream"); 

如果有人熟悉Face API并已完成入门教程或知道答案,那将是美好的。



问候


解决方案

您可以从此处获取Face SDK Android示例代码:
https://www.projectoxford .ai / sdk
并从
https://social.msdn.microsoft.com/Forums/azure/en-US/4c6cf622-0711 -4f48-9772-5693615da633 / MVP-如何对使用项目-牛津 - 表面 - API-上的Andriod?论坛= MLAPI

Hello,

I am currently scouting Face Recognition Technologies for my current Employer and came across Face API. I went through the Getting Started Tutorial for Android and I tried to run it. Currently, the app allows me to browse and select photos, but it does not show a red rectangle around a given face. After a bit of debugging, I located the source of the error. There is a variable called result that calls a method called detect. However, result always return null in my case, so the problem had to be in detect. I then went to detect and now believe that the error lies with the following piece of code:

String json = this.restCall.request(uri,"POST",params,"application/octet-stream");

If someone is familiar with Face API and has done the getting started tutorial or knows the answer, that would be wonderful.

Greetings

解决方案

You can get Face SDK Android sample code from here: https://www.projectoxford.ai/sdk and get sample code from https://social.msdn.microsoft.com/Forums/azure/en-US/4c6cf622-0711-4f48-9772-5693615da633/mvp-how-to-using-project-oxford-face-api-on-andriod?forum=mlapi


这篇关于Face API入门Android无法正常运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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