chandra-ocr-2-onnx / processor_config.json
Prince-1's picture
Add files using upload-large-folder tool
e010a16 verified
Raw
History Blame Contribute Delete
1.53 kB
{
"processor": {
"name": "qwen3_vl_image_processor",
"transforms": [
{
"operation": {
"name": "decode_image",
"type": "DecodeImage",
"attrs": {
"color_space": "RGB"
}
}
},
{
"operation": {
"name": "convert_to_rgb",
"type": "ConvertRGB"
}
},
{
"operation": {
"name": "resize",
"type": "Resize",
"attrs": {
"width": 540,
"height": 360,
"smart_resize": 1,
"min_pixels": 65536,
"max_pixels": 16777216,
"patch_size": 16,
"merge_size": 2
}
}
},
{
"operation": {
"name": "rescale",
"type": "Rescale",
"attrs": {
"rescale_factor": 0.00392156862745098
}
}
},
{
"operation": {
"name": "normalize",
"type": "Normalize",
"attrs": {
"mean": [
0.5,
0.5,
0.5
],
"std": [
0.5,
0.5,
0.5
],
"qwen3_vl": 1
}
}
},
{
"operation": {
"name": "patch_image",
"type": "PatchImage",
"attrs": {
"patch_size": 16,
"temporal_patch_size": 2,
"merge_size": 2
}
}
}
]
}
}