Giter Club home page Giter Club logo

Comments (11)

lebronJ avatar lebronJ commented on June 4, 2024

Which operations are you using?

from cognitive-face-python.

SMe12435 avatar SMe12435 commented on June 4, 2024

I am using CF.face.detect('image.jpg').

OUTPUT
status_code: 400
code: BadArgument
message: The length of faceIds is not in a valid range.

Thanks!

from cognitive-face-python.

lebronJ avatar lebronJ commented on June 4, 2024

Can you clarify this? Which operation are you calling the faceIds and meeting with this limitation?

from cognitive-face-python.

SMe12435 avatar SMe12435 commented on June 4, 2024

Basically, I have added faces for training in PersonGroup. After the training is done I want to detect those people in the image.

But as the image has more than 20 faces I am unable to get more than 20 faceIds.
Screenshot from 2019-03-16 16-47-30

The above image was taken from - https://westus.dev.cognitive.microsoft.com/docs/services/563879b61984550e40cbbe8d/operations/563879b61984550f30395237

from cognitive-face-python.

lebronJ avatar lebronJ commented on June 4, 2024

Do you mean FindSimilar declares returning at most 1000 faces but actually no more than 20?

If yes, this is a known issue and we are going to fixing that in next release in about 1-2 weeks, please check it back then. Sorry for the inconvenience.

from cognitive-face-python.

SMe12435 avatar SMe12435 commented on June 4, 2024

Yes, that is the problem that I am facing. Is this an issue only in python or in C# as well??

from cognitive-face-python.

lebronJ avatar lebronJ commented on June 4, 2024

It’s a known bug of Face API, thus for SDKs of all languages.

from cognitive-face-python.

lebronJ avatar lebronJ commented on June 4, 2024

We will update this issue as soon as we fix it. Well I think the problem only exists for FindSimilar towards FaceList or LargeFaceList. Please check the API reference to see if Identify towards PersonGroup or LargePersonGroup is your actual need.

from cognitive-face-python.

SMe12435 avatar SMe12435 commented on June 4, 2024

Okay! Thanks for the help sir. Looking forward to a fix soon! I'd be happy if you acknowledge once the issue is fixed. πŸ‘

from cognitive-face-python.

SMe12435 avatar SMe12435 commented on June 4, 2024

I don't detecting a person group is what I am looking for. I am looking forward to detecting each face in a PersonGroup.

from cognitive-face-python.

lebronJ avatar lebronJ commented on June 4, 2024

This bug has been fixed for long time, sorry for forgetting updating the status right after the fix.

I will close this issue, feel free to reopen this thread if any further concerns.

from cognitive-face-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.