feat(seal-index): 增加卷十琉瑞字形检索样本
Browse files1. 将琉、瑞的九个卷十篆书字形纳入检索索引
2. 同步更新整字与部件特征数据
- data/seal_glyph_index/char_counts.json +2 -0
- data/seal_glyph_index/component_features_hog.npy +2 -2
- data/seal_glyph_index/component_manifest.json +1 -1
- data/seal_glyph_index/component_valid.npy +2 -2
- data/seal_glyph_index/features_local_resnet50.json +1 -1
- data/seal_glyph_index/features_local_resnet50.npy +2 -2
- data/seal_glyph_index/glyphs/1e81ba4cca1a84e9930e53e8bb6a0847a923daae.png +0 -0
- data/seal_glyph_index/glyphs/38071021068464babeb68f9987248934fa99203f.png +0 -0
- data/seal_glyph_index/glyphs/519877aba95037911d9cdc23e8eaa7f4d3bfe4c2.png +0 -0
- data/seal_glyph_index/glyphs/89f580c7c3c08f60ccfff32a823943cfc68e71dd.png +0 -0
- data/seal_glyph_index/glyphs/8aa8688ce5f685c875fcb1c42719502484e0a62b.png +0 -0
- data/seal_glyph_index/glyphs/a9ac6fd46ff613ede158a23acbe43f22d843b336.png +0 -0
- data/seal_glyph_index/glyphs/cc9ec1c3af7acb0592c835722773e89d1befde9b.png +0 -0
- data/seal_glyph_index/glyphs/d9a860bb107c9b8ce44eb2ef445162194958de43.png +0 -0
- data/seal_glyph_index/glyphs/ff37a047e8e045a8c883506545d876340ad96985.png +0 -0
- data/seal_glyph_index/manifest.json +13 -2
- data/seal_glyph_index/metadata.jsonl +9 -0
data/seal_glyph_index/char_counts.json
CHANGED
|
@@ -655,6 +655,8 @@
|
|
| 655 |
"烏": 6,
|
| 656 |
"焉": 1,
|
| 657 |
"舄": 4,
|
|
|
|
|
|
|
| 658 |
"千": 2,
|
| 659 |
"字": 2,
|
| 660 |
"文": 2,
|
|
|
|
| 655 |
"烏": 6,
|
| 656 |
"焉": 1,
|
| 657 |
"舄": 4,
|
| 658 |
+
"琉": 4,
|
| 659 |
+
"瑞": 5,
|
| 660 |
"千": 2,
|
| 661 |
"字": 2,
|
| 662 |
"文": 2,
|
data/seal_glyph_index/component_features_hog.npy
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:83a7f2d2f3e7e2ed535043522845241035a1708aa9847a68bc63b8f65ef3ba4d
|
| 3 |
+
size 104005568
|
data/seal_glyph_index/component_manifest.json
CHANGED
|
@@ -8,6 +8,6 @@
|
|
| 8 |
"bottom",
|
| 9 |
"center"
|
| 10 |
],
|
| 11 |
-
"glyph_count":
|
| 12 |
"feature_dimension": 1764
|
| 13 |
}
|
|
|
|
| 8 |
"bottom",
|
| 9 |
"center"
|
| 10 |
],
|
| 11 |
+
"glyph_count": 2948,
|
| 12 |
"feature_dimension": 1764
|
| 13 |
}
|
data/seal_glyph_index/component_valid.npy
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3dc5b60e9910854ae11961953690d906ef3cbbbd2e4cb4098e3bd081250d77d5
|
| 3 |
+
size 14868
|
data/seal_glyph_index/features_local_resnet50.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
| 4 |
"model": "best_model.pth",
|
| 5 |
"device": "cpu",
|
| 6 |
"image_size": 128,
|
| 7 |
-
"glyph_count":
|
| 8 |
"embedding_dimension": 2048,
|
| 9 |
"features_file": "features_local_resnet50.npy"
|
| 10 |
}
|
|
|
|
| 4 |
"model": "best_model.pth",
|
| 5 |
"device": "cpu",
|
| 6 |
"image_size": 128,
|
| 7 |
+
"glyph_count": 2948,
|
| 8 |
"embedding_dimension": 2048,
|
| 9 |
"features_file": "features_local_resnet50.npy"
|
| 10 |
}
|
data/seal_glyph_index/features_local_resnet50.npy
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:552b21aa91d15fffa9dcebd8d1a4635037acaf14b7a7696a0b0702b13fa1f4c9
|
| 3 |
+
size 24150144
|
data/seal_glyph_index/glyphs/1e81ba4cca1a84e9930e53e8bb6a0847a923daae.png
ADDED
|
data/seal_glyph_index/glyphs/38071021068464babeb68f9987248934fa99203f.png
ADDED
|
data/seal_glyph_index/glyphs/519877aba95037911d9cdc23e8eaa7f4d3bfe4c2.png
ADDED
|
data/seal_glyph_index/glyphs/89f580c7c3c08f60ccfff32a823943cfc68e71dd.png
ADDED
|
data/seal_glyph_index/glyphs/8aa8688ce5f685c875fcb1c42719502484e0a62b.png
ADDED
|
data/seal_glyph_index/glyphs/a9ac6fd46ff613ede158a23acbe43f22d843b336.png
ADDED
|
data/seal_glyph_index/glyphs/cc9ec1c3af7acb0592c835722773e89d1befde9b.png
ADDED
|
data/seal_glyph_index/glyphs/d9a860bb107c9b8ce44eb2ef445162194958de43.png
ADDED
|
data/seal_glyph_index/glyphs/ff37a047e8e045a8c883506545d876340ad96985.png
ADDED
|
data/seal_glyph_index/manifest.json
CHANGED
|
@@ -1,12 +1,23 @@
|
|
| 1 |
{
|
| 2 |
"format": "seal-glyph-index/v1",
|
| 3 |
"feature": "HOG cosine similarity",
|
| 4 |
-
"glyph_count":
|
| 5 |
-
"character_count":
|
| 6 |
"source": "/Users/mnhkahn/code/wangxizhi",
|
| 7 |
"works": [
|
| 8 |
"李斯-篆书-峄山刻石",
|
| 9 |
"程德洽-篆书-说文广义-高清",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
"邓石如-篆书-千字文",
|
| 11 |
"邓石如-篆书-白氏草堂记"
|
| 12 |
]
|
|
|
|
| 1 |
{
|
| 2 |
"format": "seal-glyph-index/v1",
|
| 3 |
"feature": "HOG cosine similarity",
|
| 4 |
+
"glyph_count": 2948,
|
| 5 |
+
"character_count": 1149,
|
| 6 |
"source": "/Users/mnhkahn/code/wangxizhi",
|
| 7 |
"works": [
|
| 8 |
"李斯-篆书-峄山刻石",
|
| 9 |
"程德洽-篆书-说文广义-高清",
|
| 10 |
+
"程德洽-篆书-说文广义卷之七",
|
| 11 |
+
"程德洽-篆书-说文广义卷之三",
|
| 12 |
+
"程德洽-篆书-说文广义卷之九",
|
| 13 |
+
"程德洽-篆书-说文广义卷之二",
|
| 14 |
+
"程德洽-篆书-说文广义卷之五",
|
| 15 |
+
"程德洽-篆书-说文广义卷之八",
|
| 16 |
+
"程德洽-篆书-说文广义卷之六",
|
| 17 |
+
"程德洽-篆书-说文广义卷之十",
|
| 18 |
+
"程德洽-篆书-说文广义卷之十一",
|
| 19 |
+
"程德洽-篆书-说文广义卷之十二",
|
| 20 |
+
"程德洽-篆书-说文广义卷之四",
|
| 21 |
"邓石如-篆书-千字文",
|
| 22 |
"邓石如-篆书-白氏草堂记"
|
| 23 |
]
|
data/seal_glyph_index/metadata.jsonl
CHANGED
|
@@ -2305,6 +2305,15 @@
|
|
| 2305 |
{"id": "9651ae4274e2cfc51562aa06449e233ce05e8663", "source_id": "551850dcaed443fda231332f7d09a3a0", "char": "舄", "font": "篆书", "author": "程德洽", "work": "说文广义-高清", "work_dir": "程德洽-篆书-说文广义-高清", "page": "fatie-087.jpg", "source_image": "/Users/mnhkahn/code/wangxizhi/程德洽-篆书-说文广义-高清/fatie-087.jpg", "bbox": [2368.0, 1806.4811529933481, 2668.0, 2203.481152993348], "column": 4, "row": 1, "glyph_image": "glyphs/9651ae4274e2cfc51562aa06449e233ce05e8663.png"}
|
| 2306 |
{"id": "f2ca7d1908b2028a907ec197f9f390de85b3f719", "source_id": "3326e24c2fa14c9f9a2f4632d1810ada", "char": "舄", "font": "篆书", "author": "程德洽", "work": "说文广义-高清", "work_dir": "程德洽-篆书-说文广义-高清", "page": "fatie-087.jpg", "source_image": "/Users/mnhkahn/code/wangxizhi/程德洽-篆书-说文广义-高清/fatie-087.jpg", "bbox": [2384.6297117516633, 2363.4811529933477, 2684.6297117516633, 2760.4811529933477], "column": 4, "row": 2, "glyph_image": "glyphs/f2ca7d1908b2028a907ec197f9f390de85b3f719.png"}
|
| 2307 |
{"id": "43f9b211859325797b8c14d75d7db78c0fa7872e", "source_id": "cb6fdf99d3554ce09e11fb094b85226b", "char": "舄", "font": "篆书", "author": "程德洽", "work": "说文广义-高清", "work_dir": "程德洽-篆书-说文广义-高清", "page": "fatie-087.jpg", "source_image": "/Users/mnhkahn/code/wangxizhi/程德洽-篆书-说文广义-高清/fatie-087.jpg", "bbox": [2368, 2916, 2668, 3313], "column": 4, "row": 3, "glyph_image": "glyphs/43f9b211859325797b8c14d75d7db78c0fa7872e.png"}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2308 |
{"id": "be65f9302ae303950276644e38eb78e36dfec095", "source_id": "f6b2f4a044727218919ea0dcde57e440", "char": "千", "font": "篆书", "author": "邓石如", "work": "千字文", "work_dir": "邓石如-篆书-千字文", "page": "fatie-001.jpg", "source_image": "/Users/mnhkahn/code/wangxizhi/邓石如-篆书-千字文/fatie-001.jpg", "bbox": [497.5, 62.27556109725684, 619.501246882793, 221.9638403990025], "column": 0, "row": 0, "glyph_image": "glyphs/be65f9302ae303950276644e38eb78e36dfec095.png"}
|
| 2309 |
{"id": "cc40ebbd9fa956ab5e7f146432d1f6a0aa4180b9", "source_id": "deng-qian-001-c0-r1", "char": "字", "font": "篆书", "author": "邓石如", "work": "千字文", "work_dir": "邓石如-篆书-千字文", "page": "fatie-001.jpg", "source_image": "/Users/mnhkahn/code/wangxizhi/邓石如-篆书-千字文/fatie-001.jpg", "bbox": [497.5, 272.27556109725685, 619.501246882793, 431.9638403990025], "column": 0, "row": 1, "glyph_image": "glyphs/cc40ebbd9fa956ab5e7f146432d1f6a0aa4180b9.png"}
|
| 2310 |
{"id": "40d2f1da983bb80e6531f152f7e3458141a619ba", "source_id": "deng-qian-001-c0-r2", "char": "文", "font": "篆书", "author": "邓石如", "work": "千字文", "work_dir": "邓石如-篆书-千字文", "page": "fatie-001.jpg", "source_image": "/Users/mnhkahn/code/wangxizhi/邓石如-篆书-千字文/fatie-001.jpg", "bbox": [497.5, 482.27556109725685, 619.501246882793, 641.9638403990025], "column": 0, "row": 2, "glyph_image": "glyphs/40d2f1da983bb80e6531f152f7e3458141a619ba.png"}
|
|
|
|
| 2305 |
{"id": "9651ae4274e2cfc51562aa06449e233ce05e8663", "source_id": "551850dcaed443fda231332f7d09a3a0", "char": "舄", "font": "篆书", "author": "程德洽", "work": "说文广义-高清", "work_dir": "程德洽-篆书-说文广义-高清", "page": "fatie-087.jpg", "source_image": "/Users/mnhkahn/code/wangxizhi/程德洽-篆书-说文广义-高清/fatie-087.jpg", "bbox": [2368.0, 1806.4811529933481, 2668.0, 2203.481152993348], "column": 4, "row": 1, "glyph_image": "glyphs/9651ae4274e2cfc51562aa06449e233ce05e8663.png"}
|
| 2306 |
{"id": "f2ca7d1908b2028a907ec197f9f390de85b3f719", "source_id": "3326e24c2fa14c9f9a2f4632d1810ada", "char": "舄", "font": "篆书", "author": "程德洽", "work": "说文广义-高清", "work_dir": "程德洽-篆书-说文广义-高清", "page": "fatie-087.jpg", "source_image": "/Users/mnhkahn/code/wangxizhi/程德洽-篆书-说文广义-高清/fatie-087.jpg", "bbox": [2384.6297117516633, 2363.4811529933477, 2684.6297117516633, 2760.4811529933477], "column": 4, "row": 2, "glyph_image": "glyphs/f2ca7d1908b2028a907ec197f9f390de85b3f719.png"}
|
| 2307 |
{"id": "43f9b211859325797b8c14d75d7db78c0fa7872e", "source_id": "cb6fdf99d3554ce09e11fb094b85226b", "char": "舄", "font": "篆书", "author": "程德洽", "work": "说文广义-高清", "work_dir": "程德洽-篆书-说文广义-高清", "page": "fatie-087.jpg", "source_image": "/Users/mnhkahn/code/wangxizhi/程德洽-篆书-说文广义-高清/fatie-087.jpg", "bbox": [2368, 2916, 2668, 3313], "column": 4, "row": 3, "glyph_image": "glyphs/43f9b211859325797b8c14d75d7db78c0fa7872e.png"}
|
| 2308 |
+
{"id": "38071021068464babeb68f9987248934fa99203f", "source_id": "5e03bcb265f94f99b831f0bcd148e882", "char": "琉", "font": "篆书", "author": "程德洽", "work": "说文广义卷之十", "work_dir": "程德洽-篆书-说文广义卷之十", "page": "fatie-0278.webp", "source_image": "/Users/mnhkahn/code/wangxizhi/程德洽-篆书-说文广义卷之十/fatie-0278.webp", "bbox": [550.2269326683294, 382.71820448877816, 645.8753117206984, 525.349127182045], "column": 2, "row": 0, "glyph_image": "glyphs/38071021068464babeb68f9987248934fa99203f.png"}
|
| 2309 |
+
{"id": "cc9ec1c3af7acb0592c835722773e89d1befde9b", "source_id": "faa794b463384ca395833809f2851afb", "char": "琉", "font": "篆书", "author": "程德洽", "work": "说文广义卷之十", "work_dir": "程德洽-篆书-说文广义卷之十", "page": "fatie-0278.webp", "source_image": "/Users/mnhkahn/code/wangxizhi/程德洽-篆书-说文广义卷之十/fatie-0278.webp", "bbox": [547.7356608478801, 562.9052369077308, 645.8753117206982, 703.0448877805487], "column": 2, "row": 1, "glyph_image": "glyphs/cc9ec1c3af7acb0592c835722773e89d1befde9b.png"}
|
| 2310 |
+
{"id": "a9ac6fd46ff613ede158a23acbe43f22d843b336", "source_id": "6c1aece9de1040ec89765df1e10f2fa0", "char": "琉", "font": "篆书", "author": "程德洽", "work": "说文广义卷之十", "work_dir": "程德洽-篆书-说文广义卷之十", "page": "fatie-0278.webp", "source_image": "/Users/mnhkahn/code/wangxizhi/程德洽-篆书-说文广义卷之十/fatie-0278.webp", "bbox": [555.2094763092271, 754.9326683291769, 648.3665835411473, 895.0723192019948], "column": 2, "row": 2, "glyph_image": "glyphs/a9ac6fd46ff613ede158a23acbe43f22d843b336.png"}
|
| 2311 |
+
{"id": "89f580c7c3c08f60ccfff32a823943cfc68e71dd", "source_id": "909c49722741ce28ad46236ba3dcb4c3", "char": "琉", "font": "篆书", "author": "程德洽", "work": "说文广义卷之十", "work_dir": "程德洽-篆书-说文广义卷之十", "page": "fatie-0278.webp", "source_image": "/Users/mnhkahn/code/wangxizhi/程德洽-篆书-说文广义卷之十/fatie-0278.webp", "bbox": [545.6234413965087, 941.7356608478804, 649.6234413965087, 1078.2356608478804], "column": 2, "row": 3, "glyph_image": "glyphs/89f580c7c3c08f60ccfff32a823943cfc68e71dd.png"}
|
| 2312 |
+
{"id": "ff37a047e8e045a8c883506545d876340ad96985", "source_id": "e942224f356b4bcf88a6828463267122", "char": "瑞", "font": "篆书", "author": "程德洽", "work": "说文广义卷之十", "work_dir": "程德洽-篆书-说文广义卷之十", "page": "fatie-0286.webp", "source_image": "/Users/mnhkahn/code/wangxizhi/程德洽-篆书-说文广义卷之十/fatie-0286.webp", "bbox": [1014.0, 420.0, 1124.0, 563.0], "column": 5, "row": 0, "glyph_image": "glyphs/ff37a047e8e045a8c883506545d876340ad96985.png"}
|
| 2313 |
+
{"id": "519877aba95037911d9cdc23e8eaa7f4d3bfe4c2", "source_id": "9625790bfa114595811181bd6e1778b4", "char": "瑞", "font": "篆书", "author": "程德洽", "work": "说文广义卷之十", "work_dir": "程德洽-篆书-说文广义卷之十", "page": "fatie-0286.webp", "source_image": "/Users/mnhkahn/code/wangxizhi/程德洽-篆书-说文广义卷之十/fatie-0286.webp", "bbox": [1014.0, 605.0, 1124.0, 748.0], "column": 5, "row": 1, "glyph_image": "glyphs/519877aba95037911d9cdc23e8eaa7f4d3bfe4c2.png"}
|
| 2314 |
+
{"id": "1e81ba4cca1a84e9930e53e8bb6a0847a923daae", "source_id": "e629eaf8cdf64c2a8ef2dbf36d62aad6", "char": "瑞", "font": "篆书", "author": "程德洽", "work": "说文广义卷之十", "work_dir": "程德洽-篆书-说文广义卷之十", "page": "fatie-0286.webp", "source_image": "/Users/mnhkahn/code/wangxizhi/程德洽-篆书-说文广义卷之十/fatie-0286.webp", "bbox": [1014.0, 787.0, 1124.0, 930.0], "column": 5, "row": 2, "glyph_image": "glyphs/1e81ba4cca1a84e9930e53e8bb6a0847a923daae.png"}
|
| 2315 |
+
{"id": "8aa8688ce5f685c875fcb1c42719502484e0a62b", "source_id": "354e716d95604f0184f66821f61941ec", "char": "瑞", "font": "篆书", "author": "程德洽", "work": "说文广义卷之十", "work_dir": "程德洽-篆书-说文广义卷之十", "page": "fatie-0286.webp", "source_image": "/Users/mnhkahn/code/wangxizhi/程德洽-篆书-说文广义卷之十/fatie-0286.webp", "bbox": [1014.0, 972.0, 1124.0, 1115.0], "column": 5, "row": 3, "glyph_image": "glyphs/8aa8688ce5f685c875fcb1c42719502484e0a62b.png"}
|
| 2316 |
+
{"id": "d9a860bb107c9b8ce44eb2ef445162194958de43", "source_id": "6dd3cef4f0394ed1807ecac0d66dcd2d", "char": "瑞", "font": "篆书", "author": "程德洽", "work": "说文广义卷之十", "work_dir": "程德洽-篆书-说文广义卷之十", "page": "fatie-0286.webp", "source_image": "/Users/mnhkahn/code/wangxizhi/程德洽-篆书-说文广义卷之十/fatie-0286.webp", "bbox": [1014.0, 1161.0, 1124.0, 1304.0], "column": 5, "row": 4, "glyph_image": "glyphs/d9a860bb107c9b8ce44eb2ef445162194958de43.png"}
|
| 2317 |
{"id": "be65f9302ae303950276644e38eb78e36dfec095", "source_id": "f6b2f4a044727218919ea0dcde57e440", "char": "千", "font": "篆书", "author": "邓石如", "work": "千字文", "work_dir": "邓石如-篆书-千字文", "page": "fatie-001.jpg", "source_image": "/Users/mnhkahn/code/wangxizhi/邓石如-篆书-千字文/fatie-001.jpg", "bbox": [497.5, 62.27556109725684, 619.501246882793, 221.9638403990025], "column": 0, "row": 0, "glyph_image": "glyphs/be65f9302ae303950276644e38eb78e36dfec095.png"}
|
| 2318 |
{"id": "cc40ebbd9fa956ab5e7f146432d1f6a0aa4180b9", "source_id": "deng-qian-001-c0-r1", "char": "字", "font": "篆书", "author": "邓石如", "work": "千字文", "work_dir": "邓石如-篆书-千字文", "page": "fatie-001.jpg", "source_image": "/Users/mnhkahn/code/wangxizhi/邓石如-篆书-千字文/fatie-001.jpg", "bbox": [497.5, 272.27556109725685, 619.501246882793, 431.9638403990025], "column": 0, "row": 1, "glyph_image": "glyphs/cc40ebbd9fa956ab5e7f146432d1f6a0aa4180b9.png"}
|
| 2319 |
{"id": "40d2f1da983bb80e6531f152f7e3458141a619ba", "source_id": "deng-qian-001-c0-r2", "char": "文", "font": "篆书", "author": "邓石如", "work": "千字文", "work_dir": "邓石如-篆书-千字文", "page": "fatie-001.jpg", "source_image": "/Users/mnhkahn/code/wangxizhi/邓石如-篆书-千字文/fatie-001.jpg", "bbox": [497.5, 482.27556109725685, 619.501246882793, 641.9638403990025], "column": 0, "row": 2, "glyph_image": "glyphs/40d2f1da983bb80e6531f152f7e3458141a619ba.png"}
|