Error: Face.detect_with_stream() with list of return_face_attributes=[] #14163
Labels
Client
This issue points to a problem in the data-plane of the library.
Cognitive - Face
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-author-feedback
Workflow: More information is needed from author to address the issue.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
no-recent-activity
There has been no recent activity on this issue.
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Attention
Workflow: This issue is responsible by Azure service team.
Package Name:
import asyncio
import io
import glob
import os
import sys
import time
import uuid
import requests
from urllib.parse import urlparse
from io import BytesIO
from PIL import Image, ImageDraw
import pandas as pd
from azure.cognitiveservices.vision.face import FaceClient
Package Version:
Operating System:
Mac os
Python Version:
Python 3.8
Here I tried to use local photo to do the emotion detection face_client.face.detect_with_stream
`
IMAGES_FOLDER='' # photo address
test_image_array = glob.glob(os.path.join(IMAGES_FOLDER, '*jpg'))
image = open(test_image_array[0], 'r+b')
faces = face_client.face.detect_with_stream(image)
`
But it is wrong
as shown:
Did I miss something or make a mistake?
The text was updated successfully, but these errors were encountered: