microsoft-cognitive

Microsoft Cognitive Services Emotion API. Error: 'Image size is too small or too big.'

こ雲淡風輕ζ 提交于 2020-01-04 02:04:12
问题 I have noticed a rather strange error with the Emotion API from the Cognitive Services suite. Everything works just fine as long as I send it URL's. When sending it image attachments. I receive this JSON error: { error: { code: 'InvalidImageSize', message: 'Image size is too small or too big.' } } Sending it smaller or larger versions does not help. Send a URL of the same image, and suddenly it works fine again. I stream the attachment to the API service in the exact same way I do for another

Is it possible for either Microsoft Computer Vision API or Google's Cloud Vision API to get a location for objects?

こ雲淡風輕ζ 提交于 2020-01-04 02:03:35
问题 I am trying to develop an application that needs to know the location of tagged objects in an image. Knowing that there is a "piano" in an image is not enough, I need to know where that piano is in the image. Both Microsoft's Computer Vision API and Google's Cloud Vision API provide some form of cropping suggestion/smart thumbnail generation service which leads me to think that the location of certain objects is being detected - however is there a way to get that information (like a bounding

Microsoft Cognitive Services - Computer Vision: Invalid Subscription Key

假如想象 提交于 2020-01-03 17:34:39
问题 I'm trying to use the Computer Vision API from Microsoft's Cognitive Services. However, my keys don't seem to be working. I created an account using the free trial of that API and got the two keys from it. Trying to use the key with the ProjectOxford.Vision SDK always yields: Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription. I tried the API console, however I get the same error with my key in the Ocp-Apim-Subscription-Key field. I

Bing Image Search API v5 - contentURL Redirect

浪尽此生 提交于 2020-01-03 16:54:36
问题 I hope you could help me, I'm trying to use the Bing Image Search API and everything is fine so far, there's just one thing that I don't understand, contentURL is a redirection, where should be the image url from the source website at least thats what documentation says (and the previous version of the search). I tried with Trending images and there the contentURL is how it should there. So only for Images search gives a redirection: contentURL from first object of jSON Response "contentUrl":

How to improve the accuracy of Form Recognizer?

你说的曾经没有我的故事 提交于 2019-12-31 05:42:04
问题 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":

Difference among Microsoft Speech products/platforms

女生的网名这么多〃 提交于 2019-12-30 06:43:26
问题 It seems Microsoft offers quite a few speech recognition products, I'd like to know the differences among all of them pls. There is Microsoft Speech API, or SAPI. But somehow Microsoft Cognitive Service Speech API has the same name. Ok now, Microsoft Cognitive Service on Azure offers Speech service API and Bing Speech API . I assume for speech-to-text, both APIs are the same. And then there is System.Speech.Recognition (or Desktop SAPI), Microsoft.Speech.Recognition (or Server SAPI) and

Difference among Microsoft Speech products/platforms

我的梦境 提交于 2019-12-30 06:42:33
问题 It seems Microsoft offers quite a few speech recognition products, I'd like to know the differences among all of them pls. There is Microsoft Speech API, or SAPI. But somehow Microsoft Cognitive Service Speech API has the same name. Ok now, Microsoft Cognitive Service on Azure offers Speech service API and Bing Speech API . I assume for speech-to-text, both APIs are the same. And then there is System.Speech.Recognition (or Desktop SAPI), Microsoft.Speech.Recognition (or Server SAPI) and

Access denied due to invalid subscription key (Face API)

ε祈祈猫儿з 提交于 2019-12-29 06:44:09
问题 I am having trouble using Microsoft Face API. Below is my sample request: curl -v -X POST "https://westus.api.cognitive.microsoft.com/face/v1.0/detect?returnFaceId=true&returnFaceLandmarks=false&returnFaceAttributes=age,gender" -H "Content-Type: application/json" -H "Ocp-Apim-Subscription-Key: 1xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxd" --data-ascii "{\"url\":\"http://www.mrbeantvseries.co.uk/bean3.jpg\"}" I use the subscription id from my cognitive services account and I got below response: {

Pressing a button using code, button function is async in C#

冷暖自知 提交于 2019-12-25 18:47:31
问题 So I have a button and the function's signature that runs when clicking on it: private async void StartButton_Click(object sender, RoutedEventArgs e) I need this button pressed every day at a specific hour. I am using DateTime of course. I just want to know how to make it run becaue of the two parameters it's getting. Edit: So I've tried some answers but I get an exception everytime. The intresting part is that the exception is not happening when I actually clickon the button. Just when I am

How to use HTTP POST with “application/octet-stream” in Android? (Microsoft Cognitive Video)

我只是一个虾纸丫 提交于 2019-12-25 08:02:38
问题 I want to use the Video Cognitive Service in Android. The sample that Microsoft provided is used in C#. The video function is sending an URL to the server, So I think it is possible using HTTP POST to send an URL in Android. http://ppt.cc/V1piA The problem I met is that I don't know the URL format in "application/octet-stream", and I didn't see the example on the Microsoft website. Is it possible using HTTP POST in Android to upload a downloaded video to the server, and I can get the analysis