Skip to content

Commit ebbf907

Browse files
committed
Fix typo in hocr character box output
1 parent 4ce797b commit ebbf907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/hocrrenderer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ char* TessBaseAPI::GetHOCRText(ETEXT_DESC* monitor, int page_number) {
268268
if (grapheme && grapheme[0] != 0) {
269269
if (hocr_boxes) {
270270
res_it->BoundingBox(RIL_SYMBOL, &left, &top, &right, &bottom);
271-
hocr_str << "<span class='ocrx_cinfo' title='x_bboxes' "
271+
hocr_str << "<span class='ocrx_cinfo' title='x_bboxes "
272272
<< left << " " << top << " " << right << " " << bottom
273273
<< "; x_conf " << res_it->Confidence(RIL_SYMBOL) << "'>";
274274
}

0 commit comments

Comments
 (0)