<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<meta name="ocr-system" content="kraken"/>
		<meta name="ocr-capabilities" ccontent="ocr_page ocr_line ocrx_word"/>
	</head>
	<body>
		<div class="ocr_page" title="bbox 0 0 {{ page.size|join(' ') }}, image {{ page.name }}">
			{% for line in page.lines %}
			<span class="ocr_line" id="line_{{ line.index }}" title="bbox {{ line.bbox|join(' ') }}; cuts {{ line.deltas }}">
			{% for segment in line.recognition %}
				<span class="ocrx_word" id="segment_{{ segment.index }}" title="bbox {{ segment.bbox|join(' ') }}, x_confs {{ segment.confidences|join(' ') }}">{{ segment.text }}</span>
			{% endfor %}
			</span>
			<br/>
			{% endfor %}

		</div>
	</body>
</html>
