{ "schema_version": "2", "name": "ocr-en-ar-compare", "runtime": { "default": "client" }, "references": [ { "id": "ref_op_unlimited_ocr_2_in_0", "label": "1st", "role": "reference", "asset_type": "any", "inputs": [ { "id": "in", "label": "1st", "type": "any" } ], "outputs": [ { "id": "out", "label": "1st", "type": "any" } ], "data": {} } ], "operators": [ { "id": "op_nuqta_arabic_ocr", "label": "Nuqta-Arabic-OCR", "role": "operator", "kind": "space", "space_id": "SalahALHaismawi/Nuqta-Arabic-OCR", "endpoint": "/pick", "inputs": [], "outputs": [ { "id": "out_0", "label": "Page, photo, ID or passport", "type": "image", "output_index": 0 }, { "id": "out_1", "label": "PDF (first 5 pages)", "type": "file", "output_index": 1 }, { "id": "out_2", "label": "Output", "type": "text", "output_index": 2 }, { "id": "out_3", "label": "value_21", "type": "text", "output_index": 3 }, { "id": "out_4", "label": "value_24", "type": "markdown", "output_index": 4 }, { "id": "out_5", "label": "value_26", "type": "text", "output_index": 5 } ], "data": {} }, { "id": "op_unlimited_ocr_2", "label": "Unlimited-OCR-2", "role": "operator", "kind": "space", "space_id": "baidu/Unlimited-OCR-2", "endpoint": "/parse_page", "inputs": [ { "id": "in_0", "label": "1st", "type": "any", "required": true }, { "id": "in_1", "label": "2nd", "type": "any", "required": false, "default_value": "" }, { "id": "in_2", "label": "3rd", "type": "any", "required": false, "default_value": "auto" }, { "id": "in_3", "label": "4th", "type": "any", "required": false, "default_value": 20000 } ], "outputs": [ { "id": "out_0", "label": "1st", "type": "any", "output_index": 0 } ], "data": {} } ], "subjects": [ { "id": "sub_op_nuqta_arabic_ocr_out_0", "label": "Nuqta-Arabic-OCR", "role": "subject", "asset_type": "image", "inputs": [ { "id": "in", "label": "Nuqta-Arabic-OCR", "type": "image" } ], "outputs": [ { "id": "out", "label": "Nuqta-Arabic-OCR", "type": "image" } ], "data": {} }, { "id": "sub_op_unlimited_ocr_2_out_0", "label": "Unlimited-OCR-2", "role": "subject", "asset_type": "any", "inputs": [ { "id": "in", "label": "Unlimited-OCR-2", "type": "any" } ], "outputs": [ { "id": "out", "label": "Unlimited-OCR-2", "type": "any" } ], "data": {} } ], "edges": [ { "id": "e0", "from_node_id": "op_nuqta_arabic_ocr", "from_port_id": "out_0", "to_node_id": "sub_op_nuqta_arabic_ocr_out_0", "to_port_id": "in", "type": "image" }, { "id": "e1", "from_node_id": "ref_op_unlimited_ocr_2_in_0", "from_port_id": "out", "to_node_id": "op_unlimited_ocr_2", "to_port_id": "in_0", "type": "any" }, { "id": "e2", "from_node_id": "op_unlimited_ocr_2", "from_port_id": "out_0", "to_node_id": "sub_op_unlimited_ocr_2_out_0", "to_port_id": "in", "type": "any" } ] }