from_labelme: Extract block coordinates from labelme files
Description
This is a specialized function for use in connection
with text reordering. It takes the output from the image
annotation tool 'Labelme' https://github.com/labelmeai/labelme
and turns it into a one-row data frame compatible with other
'daiR' functions for text reordering such as
reassign_tokens2(). See package vignette on text reconstruction
for details.
Usage
from_labelme(json, page = 1)
Value
a data frame with location coordinates for the rectangle
marked in 'Labelme'.