CompreFace icon indicating copy to clipboard operation
CompreFace copied to clipboard

Can I use CompreFace API to detect faces and extract vectors so I can then add then in FAISS to search a lot of faces?

Open martinenkoEduard opened this issue 3 years ago • 4 comments

Can I use CompreFace API to detect faces and extract vectors so I can then add then in FAISS to search a lot of faces? Is there an API call to get a pure vector?

martinenkoEduard avatar Jul 04 '22 20:07 martinenkoEduard

yes, you can use a detection service and use face_plugins=calculator parameter

pospielov avatar Jul 05 '22 10:07 pospielov

What is dimension/size of a vector that it returns? Have anyone tried to store it in Faiss or milvus?

martinenkoEduard avatar Jul 07 '22 05:07 martinenkoEduard

FaceNet and ArcFace r100 vectors are 512 and the MobileNet ArcFace vector is 128 long. I don't see any problems why they can't be stored in Faiss or Milvus

pospielov avatar Jul 07 '22 08:07 pospielov

FaceNet and ArcFace r100 vectors are 512 and the MobileNet ArcFace vector is 128 long. I don't see any problems why they can't be stored in Faiss or Milvus

Thanks!)

martinenkoEduard avatar Jul 08 '22 09:07 martinenkoEduard