Authenticate

dai_auth()

Check authentication

dai_token()

Produce access token

dai_user()

Get user information

get_project_id()

Get project id

Send for processing

dai_sync()

OCR document synchronously

dai_async()

OCR documents asynchronously

dai_status()

Check job status

dai_notify()

Notify on job completion

Extract data

get_text()

Get text

get_tables()

Get tables

get_entities()

Get entities

Draw bounding boxes

draw_blocks()

Draw block bounding boxes

draw_paragraphs()

Draw paragraph bounding boxes

draw_lines()

Draw line bounding boxes

draw_tokens()

Draw token bounding boxes

draw_entities()

Draw entity bounding boxes

Manipulate output

merge_shards()

Merge shards

build_token_df()

Build token dataframe

build_block_df()

Build block dataframe

split_block()

Split a block bounding box

reassign_tokens()

Assign tokens to new blocks

reassign_tokens2()

Assign tokens to a single new block

from_labelme()

Extract block coordinates from labelme files

redraw_blocks()

Inspect revised block bounding boxes

Processor management

list_processor_types()

List available processor types

create_processor()

Create processor

get_processors()

List created processors

get_processor_info()

Get information about processor

get_processor_versions()

List available versions of processor

enable_processor()

Enable processor

disable_processor()

Disable processor

delete_processor()

Delete processor

Create XML

make_hocr()

Make hOCR file

Utilities

image_to_pdf()

Convert images to PDF

is_pdf()

Check that a file is PDF

is_json()

Check that a file is JSON

is_colour()

Check that a string is a valid colour representation

pdf_to_binbase()

PDF to base64 tiff

img_to_binbase()

Image to base64 tiff

.onAttach()

Run when daiR is attached

Deprecated

tables_from_dai_response()

Get tables from response object

tables_from_dai_file()

Get tables from output file

text_from_dai_response()

Get text from HTTP response object

text_from_dai_file()

Get text from output file

Defunct

dai_sync_tab() dai_async_tab()

Defunct functions