Computer Vision Shelf Analysis is returning "operation or feature is blocked"

Brandon 20 Reputation points
2023-05-27T00:49:49.5633333+00:00

I've tried following the article below to test the new Shelf Analysis API, but it is returning:

{"error":{"code":"OperationBlocked","message":"This operation or feature is blocked."}}

I am using an uploaded copy of the sample image.

CURL statement (without my subscription id):

curl -H "Ocp-Apim-Subscription-Key: <Subscription>" -H "Content-Type: application/json" "https://pog-ai-computer-vision.cognitiveservices.azure.com/vision/v4.0-preview.1/operations/shelfanalysis-productunderstanding:analyze" -d "{
    'url':'https://pogaistorage.blob.core.windows.net/planogram-images/shelf.png'
}"

Thanks in advance!

https://video2.skills-academy.com/en-us/azure/cognitive-services/computer-vision/how-to/shelf-analyze

Azure Computer Vision
Azure Computer Vision
An Azure artificial intelligence service that analyzes content in images and video.
338 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jogalekar, Mandar 56 Reputation points
    2024-02-09T08:30:43.3066667+00:00

    seeing same issue while using image analysis api , and using microsoft documentation.
    https://video2.skills-academy.com/en-us/azure/ai-services/computer-vision/how-to/call-analyze-image?tabs=python#determine-how-to-process-the-data not sure where is the problem ? Is the API not functioning ? I am using visual studio code to run python file.

    0 comments No comments