Microsoft

Computer Vision

Welcome to the Computer Vision API Forum

Categories

API – Any ideas or feedback pertaining to features or enhancements to Computer Vision API.

Documentation – Any ideas or suggestions for the API Reference or Documentation.

Language Support – Submit a request to have a particular language supported.

Samples & SDK Request – Let us know if you would like to see a Code sample or SDK provided.

Custom/Sample Images – Have an image you’ve tested and not getting the results you are seeking? Upload the image and describe the information or tags you would like to be included.

  • Hot ideas
  • Top ideas
  • New ideas
  • My feedback
  1. How could I use http post enquery of C languege to get the Computer Vision API ?

    postRequest =(String)("POST ") +"/vision/v1.0/analyze?https://upload.wikimedia.org/wikipedia/commons/1/12/BroadwayandTimesSquareby_night.jpg HTTP/1.1\n"
    + "visualFeatures: Categories,Description,Color"
    + "language: en\n"
    + "Content-Type: application/json"
    + "Ocp-Apim-Subscription-Key: {mysub key}\n"
    + "Host: westus.api.cognitive.microsoft.com\n"
    + "Content-Length: 152\r\n\r\n";

    As shown above, I'll get an error number of 401,which means Access denied due to missing subscription key , how do I organize the content of my post request ?

    2 votes
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Resolved  ·  1 comment  ·  Samples & SDK Request  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Feedback and Knowledge Base