visualize_html: In-browser visualization of hocr files

View source: R/ocr-utils.R

visualize_htmlR Documentation

In-browser visualization of hocr files

Description

This function creates an html file which can be opened in the browser and which showcases the hocr output using hocrjs.

Usage

visualize_html(hocr_files, outputdir=".")

Arguments

hocr_files

list of hocr file paths to visualize.

outputdir

directory where to store the viewable html. This html file has the same name as the hocr file and can be opened in any browser.


OlivierBinette/TessTools documentation built on March 13, 2024, 7:33 p.m.