microsoft-cognitive

Adding Microsoft's Emotion API to HTML website

余生长醉 提交于 2019-12-08 09:37:16
问题 I'm trying to simply create a HTML webpage that gives me emotions from images input by the user. Using Microsoft's documentation I created a HTML file below: <!DOCTYPE html> <html> <head> <title>JSSample</title> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> </head> <body> <script type="text/javascript"> $(function() { $.ajax({ url: "https://api.projectoxford.ai/emotion/v1.0/recognize", beforeSend: function(xhrObj){ // Request headers xhrObj

How can i pass capture image directly as a binary data for processing in API calling (Microsoft Cognitive Services) using Python

我是研究僧i 提交于 2019-12-08 09:01:57
问题 I am using Microsoft cognitive services for face and emotion recognition with python language. Now first i am capturing a image from the webcam using opencv and saving that image in a folder and in API post request i am passing image address for processing then i am getting the desired output. Now i want to save time of processing and want to capture the image from camera and send directly for processing without saving it. How can i do this using python ? Please help me i an newbie in field

LUIS: Action Parameter cannot be passed (with Dialog Execution)

血红的双手。 提交于 2019-12-08 08:34:51
问题 By using LUIS and it's "Dialog Execution" under Action Binding, i'm expecting to be able to provide the required parameter (of an Action). (So that the Action can be triggered, or the Dialog can be continued.) As far as i understand, once the Parameter has been asked to provide, we should provide it in the follow-up query call. For example: First query: https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/...?subscription-key=...&q=what are the available items Then, it asks me " Under

Out of Call Volume Quota

≯℡__Kan透↙ 提交于 2019-12-08 07:04:21
问题 I've been on the $250 Trial (Cognitive Search) since December 16th. Today, I'm see this when our web app attempts to pull Bing search results: Error 403. Out of call volume quota. Quota will be replenished in 17.03:21:36. Other than waiting, is there a way to resolve this? What is the Quota, and where can it be checked? Odd given that our site is still under development, with very little traffic. Literally a few outside hits per day. 回答1: It sounds like the API key either isn't getting passed

“Bing Error - Out of call volume quota” on first use

时间秒杀一切 提交于 2019-12-08 03:33:23
问题 I am trying to use Blockspring in Excel (and Google Sheets) to access Bing Web Search to return URLs based upon a list of company names (method is described here: https://www.youtube.com/watch?v=35U-FKAlaPY). I am receiving this: "#ERROR! Bing Error - Out of call volume quota. Quota will be replenished in 15.01:52:46", even though my Microsoft Cognitive Services account shows zero of 1,000 calls used before 1/7/17. Note that this is a free trial subscription (if that matters). Any ideas would

Bad Argument, Invalid Subscription Key when trying to add key from Azure

假如想象 提交于 2019-12-08 01:57:26
问题 I am trying to set up my LUIS app in luis.ai (because it seems like I can't set it up in Azure directly?). Anyway, I have created a Language Understanding Intelligent Service (LUIS) (preview) resource, but when I enter one of the keys from that resource into "My Keys" in luis.ai, I get this error: "Bad Argument, Invalid Subscription Key" Also, I just tried to publish an app with the bootstrap key and got the following errors: { "statusCode": 401, "message": "Access denied due to invalid

Correct Key for Microsoft Cognitive API

拈花ヽ惹草 提交于 2019-12-07 09:38:06
问题 I am currently trying to do a News Search on the MS Cognitive Services Bing Search API. I have read many docs, but seem to be stuck. Here is the code I'm using: $url = 'https://bingapis.azure-api.net/api/v5/news/search?q=microsoft&mkt=en-us'; $key = '{MY KEY}'; $request_headers = array(); $request_headers[] = 'Ocp-Apim-Subscription-Key: '. $key; $request_headers[] = 'User-Agent: mozilla'; $ch = curl_init($url); curl_setopt($ch, CURLOPT_TIMEOUT, 5); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 5);

LUIS: Action Parameter cannot be passed (with Dialog Execution)

删除回忆录丶 提交于 2019-12-06 19:36:49
By using LUIS and it's "Dialog Execution" under Action Binding , i'm expecting to be able to provide the required parameter (of an Action). (So that the Action can be triggered, or the Dialog can be continued.) As far as i understand, once the Parameter has been asked to provide, we should provide it in the follow-up query call. For example: First query: https://westus.api.cognitive.microsoft.com/luis/v2.0/apps/...?subscription-key=...&q=what are the available items Then, it asks me " Under what category? " (expecting me to provide the required parameter), like: Then i provided it in the

Out of Call Volume Quota

风格不统一 提交于 2019-12-06 15:31:40
I've been on the $250 Trial (Cognitive Search) since December 16th. Today, I'm see this when our web app attempts to pull Bing search results: Error 403. Out of call volume quota. Quota will be replenished in 17.03:21:36. Other than waiting, is there a way to resolve this? What is the Quota, and where can it be checked? Odd given that our site is still under development, with very little traffic. Literally a few outside hits per day. Bret Johnson - MSFT It sounds like the API key either isn't getting passed properly or is running into a very small quota. This link may help, in particular the

How to hook real-time audio stream endpoint to Direct Line Speech Endpoint?

不问归期 提交于 2019-12-06 13:29:32
问题 I am trying to hook-up my real time audio endpoint which produces continuous audio stream with Direct Line Speech (DLS) endpoint which eventually interacts with my Azure bot api. I have a websocket API that continuously receives audio stream in binary format and this is what I intend to forward it to the DLS endpoint for continuous Speech2Text with my bot. Based on the feedback and answer here, I have been able to hook up my Direct Line speech endpoint with a real-time stream. I've tried a