Questions tagged [cloudsight]

The CloudSight API is a fine-grained object recognition API capable of automated captioning, image classification, and detailed scene understanding. Sign up and read documentation at cloudsight.ai.

31 questions
3
votes
1 answer

Javascript Authorization HTTP Headers

I am currently trying to set up a POST request to an REST API (Cloudsight) with basic authorization. My code so far is: var xhr = new XMLHttpRequest(); xhr.open("POST", "http://api.cloudsightapi.com/image_requests",…
teamshortcut
  • 292
  • 1
  • 5
  • 19
3
votes
2 answers

POST canvas to web api

I am using cloudsight api http://cloudsight.readme.io/v1.0/docs And string where i post data. Also i have canvas image from webcam. I am trying to send this to api, but [image] is blank when iam serialize it. And response from server:…
Yuri
  • 35
  • 7
2
votes
1 answer

HTTP Post Request with Image Javascript

I am trying to submit an Post Request to an image recognition API using Javascript, but I cannot work out how to send the actual image. I know that I cannot send it just using a local file (I get the "Cross origin requests are only supported for…
teamshortcut
  • 292
  • 1
  • 5
  • 19
1
vote
1 answer

Cloudsight API not recognizing the parameters

I'm getting the below error while sending request to cloudsight api {"error":{"image":["at least one of image or remote_image_url must be set"]}} Can you please let me know what is missing. Code snippet: var xhr = new XMLHttpRequest(); var url…
1
vote
1 answer

Cloudsight api android studio

I am trying to use cloudsight.ai api in my android app using image from url, The cloudsight.ai api from mashape platform When I built the app there is no problem but when I run it and click the button it crashed. Here is the code of request using…
user31562
  • 97
  • 1
  • 11
1
vote
0 answers

Getting Null response from Microsoft and CloudSight APIs

I have been trying to send an image using Swift 4 and iOS 11 using the CloudSight API. I am currently converting the image to a base64 encoded string and sending the data as JSON to the CloudSight server, but I am always getting a null response. The…
1
vote
1 answer

HTTPPost method with headers and body

I need to make a HTTPPost reguest on Cloudsight for image recognition purpose. I have: BASE URL https://api.cloudsight.ai/v1/images Headers: Content-Type application/json Authorization Cloudsight API_KEY Its says: Send an image by…
Katherina
  • 379
  • 1
  • 2
  • 15
1
vote
0 answers

CloudSight Response Speed

I am experimenting with the Cloudsight API (Image recognition) and am seeing speed issues in response time. Their website advertises a 6-12 second response time, but I am routinely seeing responses taking up to and well over 20 seconds. I would like…
JTink
  • 11
  • 3
0
votes
1 answer

Send post params on httpClient with square brackets

I'm trying to make an http request to a webservice called CloudSight, and I need to pass via post a series of parameters which, in explaining the documentation indicates that they should be bracketed. The curl example they offer is as follows: Curl…
0
votes
2 answers

Cloudsight Api provides empty response on image Upload on Android platform

I am trying to upload an image on "https://api.cloudsightapi.com/image_requests" but after request call i am getting all the fields null into response .i.e status,name,token etc. I am using retrofit 2.0.1 for making request call. Code: RequestBody…
pankaj
  • 1
0
votes
1 answer

iOS Cloudsight error response crashing app

I am executing this code here self.cloudSightQuery = [[CloudSightQuery alloc] initWithImage:imageData atLocation:CGPointZero withDelegate:self …
HurkNburkS
  • 5,492
  • 19
  • 100
  • 183
0
votes
1 answer

How do I enclose with quotes a specific text from a json response? I'm using Python 3.6.0 in Windows 8

How do I enclose with quotes ("s) a specific text from a JSON response? I'm using Python 3.6.0. My script uses Cloudsight image recognition API. This allows me to upload an image and get a description of that image from Cloudsight. Now, what I'm…
0
votes
1 answer

cloudsight cloudSightQuery parameters set to null

I am trying to implement the CloudSight API into an iOS Objective C project for fun, however for some reason when I try to send an image to cloudSight the cloudSightQuery parameters are all set to null. I have added CloudSight to my application as a…
HurkNburkS
  • 5,492
  • 19
  • 100
  • 183
0
votes
0 answers

How to send image request (POST) to url?

sending to this (docs) I am trying to send an image from Android to their /image_requests endpoint, and I am trying to use loopj. So I take an image using the camera_intent: private void dispatchTakePictureIntent() { Intent…
fasasa
  • 13
  • 1
0
votes
1 answer

polling with HttpWebRequest

I'm using this API that accepts an image and sends back the description of it's contents. According to the docs, the cURL looks like this: curl -i -X POST \ -H "Authorization: CloudSight [key]" \ -F "image_request[image]=@Image.jpg" \ -F…
psyoptica
  • 57
  • 1
  • 9
1
2 3