About
本サイトは、国立国会図書館「イメージバンク」の近現代美人画(Public Domain Mark)から抽出した「顔」を、 IIIF でファセット検索・閲覧し、IIIF Curation Viewer で原本の領域として開けるようにしたファインダーです。 手法自体は美人画に限らず、NDL の任意の図版コレクションに適用できます。
何から取得したか(データ取得元)
- 原本画像: 国立国会図書館デジタルコレクション。
画像は同館の IIIF Image API(
https://dl.ndl.go.jp/api/iiif/<pid>/<page>/…)から 領域指定で動的に取得(本サイトは画像を保持しません)。 - 対象コレクション: NDL イメージバンク の 近現代美人画(すべて パブリックドメイン / Public Domain Mark)。水野年方・西川祐信・竹久夢二らの作品。
- 顔領域(GT): 各顔は原本の canvas + 矩形(xywh, 原寸ピクセル)として記録。Curation Viewer でそのまま IIIF Curation として開きます。
データの単位
- テーマ(—): 取得時のコレクション括り(イメージバンクのテーマ)。NDLの構造単位ではありません。
- アイテム(—): NDLの書誌 = マニフェスト(pid)。三十六佳撰・今様美人など、これが本来の「作品」。
- 図版(—): アイテム内の1ページ(canvas)。
- 顔(—): 確定した顔領域(GT)。各顔はちょうど1テーマに属します。
階層: テーマ ⊃ アイテム(マニフェスト) ⊃ 図版(ページ) ⊃ 顔。Curation List はテーマ単位です。
どう作ったか(抽出手法)
- 検出: 3器アンサンブル — KaoKore 学習 YOLO + RetinaFace + 浮世絵/混合検出器。
- VLM 検証: Vision-Language Model で顔判定し、性別ラベル(女性/男性/不明)を付与。
- 人手確定: 目視で採否を最終決定。採用顔のみを Ground Truth として確定。
性別は VLM 検証段階で付与したもので、大半の顔は「不明」です(確定ラベルがある顔のみ女性/男性を表示)。
仕組み(IIIF / Curation Viewer)
- 顔サムネは NDL の IIIF Image API に 領域(pct:)+ サイズを指定して動的生成。
- 「顔をクリック」= キュレーションビューで
?pos=Nによりその顔へ拡大遷移。 - 「テーマで開く」=
?mode=annotationでアノテーションモードに遷移し全顔を一覧。 - Viewer は codh-mirror の IIIF Curation Viewer(CODH, MIT)を同梱。同一オリジンで開くためローカルでも動作します。
ライセンス・クレジット
- 原本画像: 国立国会図書館デジタルコレクション、Public Domain Mark(PDM)。
- IIIF Curation Viewer: Center for Open Data in the Humanities (CODH)、MIT License。
- 顔抽出 GT・本ファインダー: NDL Face プロジェクト。
About
This site lets you facet-search and browse “faces” extracted from modern bijin-ga in the NDL “Imagebank” (Public Domain Mark) via IIIF, and open each as a region of the original in the IIIF Curation Viewer. The method is not limited to bijin-ga and applies to any NDL figure collection.
Where the data comes from
- Source images: NDL Digital Collections, fetched dynamically by region from its IIIF Image API (the site stores no images).
- Collection: modern bijin-ga in the NDL Imagebank (all Public Domain Mark) — works by Mizuno Toshikata, Nishikawa Sukenobu, Takehisa Yumeji and others.
- Face regions (GT): each face is recorded as canvas + rectangle (xywh, native px) and opens as an IIIF Curation.
Data units
- Theme (—): collection bucket at fetch time — not an NDL structural unit.
- Item (—): NDL bibliographic record = manifest (pid); the real “work”.
- Figure (—): a page (canvas) within an item.
- Face (—): a confirmed face region (GT); each belongs to exactly one theme.
Hierarchy: theme ⊃ item (manifest) ⊃ figure (page) ⊃ face. The Curation List is per theme.
How it was built
- Detection: 3-detector ensemble — KaoKore-trained YOLO + RetinaFace + ukiyo-e/mixed detector.
- VLM verification: a Vision-Language Model judges faces and assigns sex (female/male/unknown).
- Manual confirmation: final accept/reject by a human; only accepted faces become Ground Truth.
Sex was assigned at the VLM stage; most faces are “unknown” (only labelled ones show female/male).
How it works (IIIF / Curation Viewer)
- Face thumbnails are generated via the NDL IIIF Image API with a region (pct:) + size.
- “Click a face” = curation view with
?pos=Nto zoom to that face. - “Open a theme” =
?mode=annotationto list all faces in annotation mode. - The IIIF Curation Viewer (CODH, MIT) from codh-mirror is bundled (same origin → works locally).
License & credits
- Source images: NDL Digital Collections, Public Domain Mark (PDM).
- IIIF Curation Viewer: Center for Open Data in the Humanities (CODH), MIT License.
- Face GT & this finder: NDL Face project.