microsoft-cognitive

Unable to find Subscription Key for Microsoft Cognitive Services

做~自己de王妃 提交于 2019-12-03 15:59:09
I need to work on Microsoft Cognitive Services (Face API). I downloaded the code from https://github.com/Microsoft/Cognitive-face-android . Now I am unable to generate the Subscription Key for it. No matter whatever I do I get stuck in this page From where else I can find the Subscription Key. Thanks The interface you are using is for testing-purposes. Consequently, it is not meant to be used for more than a month. Here's how you can generate an API key the proper way: Newer Edit: The Azure interface has changed since this guide was written. It hasn't changed that much, so leave me a comment

Getting `Status Code:400 Bad Request` When calling Microsoft Azure Emotion API with data of type `Content-Type:application/octet-stream`

老子叫甜甜 提交于 2019-12-02 14:56:35
问题 I'm trying to send data to Microsoft Cognitive Services' Emotion API, in the form of Content-Type: application/octet-stream . I'm getting the Base64 string of an image from a canvas by calling canvas.toDataURL('image/jpeg', 0.1); (I've tried calling it with 1, 0.5, 0.2 as well, just to check whether it works and stops giving me errors) Then with that Base64 string, I'm calling the EmotionService's getUserEmotion method. I followed the instructions mentioned in this answer, to make an AJAX

Getting `Status Code:400 Bad Request` When calling Microsoft Azure Emotion API with data of type `Content-Type:application/octet-stream`

微笑、不失礼 提交于 2019-12-02 10:25:11
I'm trying to send data to Microsoft Cognitive Services' Emotion API , in the form of Content-Type: application/octet-stream . I'm getting the Base64 string of an image from a canvas by calling canvas.toDataURL('image/jpeg', 0.1); (I've tried calling it with 1, 0.5, 0.2 as well, just to check whether it works and stops giving me errors) Then with that Base64 string, I'm calling the EmotionService's getUserEmotion method. I followed the instructions mentioned in this answer , to make an AJAX call using Angular's HttpClient. Here's what my service looks like: import { Injectable } from '@angular

How to improve the accuracy of Form Recognizer?

半腔热情 提交于 2019-12-02 10:02:29
I trained my model on 5 images but the accuracy is not particularly great. Link to form: https://imgur.com/a/BOHVG7G JSON Output: { "status": "success", "pages": [ { "number": 1, "height": 1055, "width": 1225, "clusterId": 0, "keyValuePairs": [ { "key": [ { "text": "Name:", "boundingBox": [ 163.7, 987.1, 242.2, 987.1, 242.2, 963.4, 163.7, 963.4 ] } ], "value": [ { "text": "Luca Bassi", "boundingBox": [ 365.3, 982.1, 458.8, 982.1, 458.8, 963.4, 365.3, 963.4 ], "confidence": 1 }, { "text": "Brassi", "boundingBox": [ 365.3, 938.7, 417.1, 938.7, 417.1, 919, 365.3, 919 ], "confidence": 1 } ] }, {

Cognitive Service Recommendation API Upload Usage Event

独自空忆成欢 提交于 2019-12-02 04:28:31
问题 Cognitive Service Recommendation API of Upload Usage Event method does not work well. Implementation Technique I was created in the order of the ”model” · ”catalog” · ”file” · ”build” in Cognitive Service Recommendation API. Response of ”Upload Usage Event” is status code is successful in 201. I call the ”Update model”. I call ”Download usage file” and ”Get item to item recommendation”. The item of ”Upload Usage Event” I tried to make sure it is reflected. However, it did not reflect. I want

408 Request timed out Microsoft Speech to Text

时光总嘲笑我的痴心妄想 提交于 2019-12-01 21:50:53
问题 My .wav file length is just 4 seconds. Even after multiple retries and running it on cloud i am constantly getting following error * upload completely sent off: 12 out of 12 bytes < HTTP/1.1 408 Request timed out (> 14000 ms) < Transfer-Encoding: chunked < Content-Type: text/plain < Server: Microsoft-IIS/8.5 < X-MSEdge-Ref: Has anybody faced this issue? This is my request `curl -v "https://speech.platform.bing.com/recognize? scenarios=catsearch&appid=D4D52672-91D7-4C74-8AD8-42B1D98141A5

408 Request timed out Microsoft Speech to Text

我只是一个虾纸丫 提交于 2019-12-01 20:20:29
My .wav file length is just 4 seconds. Even after multiple retries and running it on cloud i am constantly getting following error * upload completely sent off: 12 out of 12 bytes < HTTP/1.1 408 Request timed out (> 14000 ms) < Transfer-Encoding: chunked < Content-Type: text/plain < Server: Microsoft-IIS/8.5 < X-MSEdge-Ref: Has anybody faced this issue? This is my request `curl -v "https://speech.platform.bing.com/recognize? scenarios=catsearch&appid=D4D52672-91D7-4C74-8AD8-42B1D98141A5&locale=en- US&device.os=wp7&version=3.0&format=json&requestid=1d4b6030-9099-12e0-91e4- 0800200c9a67

UWP get live webcam video stream

爷,独闯天下 提交于 2019-12-01 06:08:34
I was looking into the MediaCapture class, however it doesn't seem to expose what I'm looking for. I want the live Stream from the web cam - not to record it or preview it. I'm working on the Microsoft Cognitive Services Emotion API and I want to follow this example , but instead of getting a local video stream from the file system - I want to get a Stream from a web cam. The Microsoft Cognitive Services Video APIs, including Emotion, are REST APIs, not streaming APIs, so your scenario is not supported. What you can do instead is periodically capture a frame and make RESTful calls to one of

UWP get live webcam video stream

心不动则不痛 提交于 2019-12-01 03:23:05
问题 I was looking into the MediaCapture class, however it doesn't seem to expose what I'm looking for. I want the live Stream from the web cam - not to record it or preview it. I'm working on the Microsoft Cognitive Services Emotion API and I want to follow this example, but instead of getting a local video stream from the file system - I want to get a Stream from a web cam. 回答1: The Microsoft Cognitive Services Video APIs, including Emotion, are REST APIs, not streaming APIs, so your scenario is

LUIS : An item with the same key has already been added

余生长醉 提交于 2019-11-28 05:49:16
问题 I am building bot with LUIS. Before 2 hours everything was ok. My last publish on azure is from yesterday. When i train and update my published application and then write a test query i am getting : An item with the same key has already been added. Some help ? 回答1: It seems that starting today, the endpoints will be changing. Try updating your LUIS endpoint hostname from api.projectoxford.ai to westus.api.cognitive.microsoft.com . See the image below for the notice and more instructions. More