作物を探す
顔のトリミング (小さな領域) を使用した 1:N 検索。 min_score は 0.5 ~ 1 の範囲にする必要があります。
menu_bookAPI リファレンス: 顔検索 1:N (作物)expand_more
公式ドキュメント: docs.verifik.co/biometrics/search-crops (顔トリミングの 1:N 検索。標準の顔検索とは異なり、min_score は 0.5 ~ 1 です)。
Base URL https://api.verifik.co. Send one or more entries in images as raw base64 or HTTPS URLs to images (the API may fetch URLs server-side). Optionally set collection_id and max_results.
POST /v2/face-recognition/search/crops
/face-recognition/search と同じ一般的な形状で、データ内のランク付けされた候補者を返します。
| ヘッダ | 価値 |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
| パラメータ | 要求 | 説明 |
|---|---|---|
| images | はい | 顔のトリミング (base64 および/または HTTPS URL)、同じ主題 |
| min_score | はい | 0.5~1 |
| search_mode | はい | 速いか正確か |
| collection_id | いいえ | 検索を 1 つのコレクションに限定する |
| max_results | いいえ | 返された試合の上限 |
await searchCrops(
{
images: ["<base64>", "<base64>"],
min_score: 0.75,
search_mode: "FAST",
collection_id: "<optionalCollectionMongoId>",
max_results: 10,
},
accessToken,
);- このデモでは、セッション トークンで @humanauthn/api-client の searchCrops を使用します。
- 通常、応答にはランク付けされた一致が含まれ、環境によっては署名ブロックが含まれる場合があります。
menu_book
関連ドキュメント
docs.verifik.co の公式ガイド