Skip to content

Instantly share code, notes, and snippets.

@nigelkerr
Created November 6, 2016 19:45
Show Gist options
  • Save nigelkerr/d1a0202924edad935fb8bd1094e17b1a to your computer and use it in GitHub Desktop.
Save nigelkerr/d1a0202924edad935fb8bd1094e17b1a to your computer and use it in GitHub Desktop.
css to add to a hocr file to make it easier to see the recognized regions.
.ocr_page, .ocr_carea, .ocr_par, .ocr_line, .ocrx_word {
margin: 0px;
padding: 0px;
}
.ocr_page {
border: thin green dotted;
}
.ocr_carea {
border: thin red dotted;
}
.ocr_par {
border: thin blue dotted;
}
.ocr_line {
border: thin yellow dotted;
}
.ocrx_word {
border: thin purple dotted;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment