exadel-inc / compreface-python-sdk

Python SDK for CompreFace - free and open-source face recognition system from Exadel
https://exadel.com/solutions/compreface/
Apache License 2.0
111 stars 39 forks source link

Only 20 Faces listed by get(„faces“) #17

Open DirkWuerdemann opened 1 year ago

DirkWuerdemann commented 1 year ago

Dear all, The following code only deliver 20 Faces although my Facecollection has 24.

faces: list = face_collection.list().get('faces')

when I go via the REST API I can set a size Parameter which seems here not possible. Dirk

curl -X GET "http://localhost:8000/api/v1/recognition/faces?page=0&size=2" -H "x-api-key:nnnn“

pospielov commented 1 year ago

It looks like this is a bug. I'll add it to our Jira. As a workaround, you can use the REST API. Here you can find code snippets for it: https://documenter.getpostman.com/view/17578263/UUxzAnde#2febdce6-c451-4cc4-b3d3-c1c4b20c5fe7