gtang666 commited on
Commit
029c10c
·
verified ·
1 Parent(s): 0d0c4eb

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +43 -1
README.md CHANGED
@@ -10,4 +10,46 @@ tags:
10
  - art
11
  size_categories:
12
  - 1K<n<10K
13
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  - art
11
  size_categories:
12
  - 1K<n<10K
13
+ ---
14
+
15
+
16
+ # 🧠 CalliReader: Contextualizing Chinese Calligraphy via an Embedding-aligned Vision Language Model
17
+ <div align="center">
18
+ <a href="https://github.com/LoYuXr/CalliReader">📂 Code</a>
19
+ </div>
20
+
21
+ **CalliBench** is aimed to comprehensively evaluate VLMs' performance on the recognition and understanding of Chinese calligraphy.
22
+
23
+
24
+
25
+ ## 📦 Dataset Summary
26
+
27
+ * **Samples**: 3,192 image–annotation pairs
28
+ * **Tasks**: **Full-page recognition** and **Contextual VQA** (choice of author/layout/style, bilingual interpretation, and intent analysis).
29
+ * **Annotations**:
30
+
31
+ * Metadata of author, layout, and style.
32
+ * Fine-grained annotations of **character-wise bounding boxes and labels**.
33
+ * Certain samples include **contextual VQA**.
34
+
35
+ ## 🧪 How To Use
36
+ **.parqeut** files of different tiers can be found in the sub-folders of **data**. **Pandas** can be used to parse and further process those files.
37
+
38
+ For example, to load a sample and convert its image into a .jpg file:
39
+ ```
40
+ import pandas as pd
41
+ import io
42
+ from PIL import Image
43
+
44
+ df = pd.read_parquet('./data/hard/hard.parquet')
45
+
46
+ image_data = df.iloc[0]['image']
47
+ image = Image.open(io.BytesIO(image_data['bytes']))
48
+
49
+ image.save('output_image.jpg')
50
+
51
+ ```
52
+
53
+ ## 🤗 License
54
+
55
+ Apache 2.0 – open for research and commercial use.