作物を探す

作物を探す

顔のトリミング (小さな領域) を使用した 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-Typeapplication/json
AuthorizationBearer <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 の公式ガイド