Files
fil/fixtures/smoke/ocr_image_png.json
Henrik Jess Nielsen b4c07d3693
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s
Nomad changes
2026-06-01 23:40:55 +02:00

30 lines
723 B
JSON

{
"id": "ocr_image_png",
"category": "smoke",
"description": "OCR: PNG image extraction with OCR enabled. In WASM this exercises the Uint8Array bridge parameter and Promise await in the generated OcrBackend bridge.",
"tags": ["smoke", "ocr", "image", "png"],
"call": "extract_bytes",
"input": {
"data": "images/test_hello_world.png",
"mime_type": "image/png",
"config": {}
},
"assertions": [
{
"type": "equals",
"field": "mime_type",
"value": "image/png"
},
{
"type": "min_length",
"field": "content",
"value": 1
},
{
"type": "contains_any",
"field": "content",
"values": ["Hello", "World", "hello", "world"]
}
]
}