We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 496fe58 + 32f87e8 commit ce8b888Copy full SHA for ce8b888
src/eval_mm/tasks/cc_ocr.py
@@ -10,6 +10,12 @@ def base64_to_pil_image(base64_string: str) -> Image.Image:
10
11
12
class CCOCR(Task):
13
+ """
14
+ The CCOCR class processes the CC-OCR dataset for Japanese samples and provides
15
+ methods to interact with the dataset. It filters the dataset to include only
16
+ entries labeled as "Japanese" and decodes base64-encoded images into PIL Image
17
+ objects for visual processing.
18
19
default_metric = "ccocr"
20
21
@staticmethod
0 commit comments