hotpdf.utils

Functions

filter_adjacent_coords(text, ...)

Filter adjacent coordinates based on the given text.

find_neighbour_coord(reference_character, ...)

Find a neighbouring coordinate within a specified maximum distance.

get_element_dimension(elem)

Get the dimensions of an element based on its coordinates.

intersect(bbox1, bbox2)

Check if two bounding boxes intersect.

to_text(el)

Convert a list of HotCharacter instances to text.