OCR-D/core¶
- ocrd
- ocrd_utils
- ocrd_utils package
- Submodules
- ocrd_utils.config module
- ocrd_utils.constants module
- ocrd_utils.deprecate module
- ocrd_utils.image module
adjust_canvas_to_rotation()
adjust_canvas_to_transposition()
bbox_from_points()
bbox_from_polygon()
bbox_from_xywh()
coordinates_for_segment()
coordinates_of_segment()
image_from_polygon()
points_from_bbox()
points_from_polygon()
points_from_x0y0x1y1()
points_from_xywh()
points_from_y0x0y1x1()
polygon_from_bbox()
polygon_from_points()
polygon_from_x0y0x1y1()
polygon_from_xywh()
polygon_mask()
rotate_coordinates()
shift_coordinates()
scale_coordinates()
transform_coordinates()
transpose_coordinates()
xywh_from_bbox()
xywh_from_points()
xywh_from_polygon()
- ocrd_utils.introspect module
- ocrd_utils.logging module
- ocrd_utils.os module
- ocrd_utils.str module
- Submodules
- ocrd_utils package
- ocrd_modelfactory
- ocrd_models
- ocrd_models package
- Submodules
- ocrd_models.constants module
- ocrd_models.ocrd_agent module
- ocrd_models.ocrd_exif module
- ocrd_models.ocrd_file module
- ocrd_models.ocrd_mets module
- ocrd_models.ocrd_page module
parse()
parseEtree()
parseString()
OcrdPage
AdvertRegionType
AlternativeImageType
BaselineType
BorderType
ChartRegionType
ChemRegionType
CoordsType
CustomRegionType
GlyphType
GraphemeBaseType
GraphemeGroupType
GraphemeType
GraphemesType
GraphicRegionType
GridPointsType
GridType
ImageRegionType
LabelType
LabelsType
LayerType
LayersType
LineDrawingRegionType
MapRegionType
MathsRegionType
MetadataItemType
MetadataType
MusicRegionType
NoiseRegionType
NonPrintingCharType
OrderedGroupIndexedType
OrderedGroupType
PageType
PcGtsType
PrintSpaceType
ReadingOrderType
RegionRefIndexedType
RegionRefType
RegionType
RelationType
RelationsType
RolesType
SeparatorRegionType
TableCellRoleType
TableRegionType
TextEquivType
TextLineType
TextRegionType
TextStyleType
UnknownRegionType
UnorderedGroupIndexedType
UnorderedGroupType
UserAttributeType
UserDefinedType
WordType
to_xml()
- ocrd_models.ocrd_xml_base module
- ocrd_models.report module
- ocrd_models.utils module
- ocrd_models.xpath_functions module
- Submodules
- ocrd_models package
- ocrd_validators
- ocrd_validators package
ParameterValidator
WorkspaceValidator
PageValidator
OcrdToolValidator
OcrdResourceListValidator
OcrdZipValidator
XsdValidator
XsdMetsValidator
XsdPageValidator
ProcessingServerConfigValidator
OcrdNetworkMessageValidator
- Submodules
- ocrd_validators.constants module
- ocrd_validators.json_validator module
- ocrd_validators.ocrd_network_message_validator module
- ocrd_validators.ocrd_tool_validator module
- ocrd_validators.ocrd_zip_validator module
- ocrd_validators.page_validator module
- ocrd_validators.parameter_validator module
- ocrd_validators.processing_server_config_validator module
- ocrd_validators.resource_list_validator module
- ocrd_validators.workspace_validator module
- ocrd_validators.xsd_mets_validator module
- ocrd_validators.xsd_page_validator module
- ocrd_validators.xsd_validator module
- ocrd_validators package
- ocrd_network
- ocrd_network package
- Subpackages
- Submodules
- ocrd_network.client module
- ocrd_network.client_utils module
poll_job_status_till_timeout_fail_or_success()
poll_wf_status_till_timeout_fail_or_success()
get_ps_deployed_processors()
get_ps_deployed_processor_ocrd_tool()
get_ps_processing_job_log()
get_ps_processing_job_status()
get_ps_workflow_job_status()
post_ps_processing_request()
post_ps_workflow_request()
verify_server_protocol()
- ocrd_network.constants module
- ocrd_network.database module
initiate_database()
sync_initiate_database()
db_create_workspace()
sync_db_create_workspace()
db_get_workspace()
sync_db_get_workspace()
db_update_workspace()
sync_db_update_workspace()
db_create_processing_job()
sync_db_create_processing_job()
db_get_processing_job()
sync_db_get_processing_job()
db_update_processing_job()
sync_db_update_processing_job()
db_create_workflow_job()
sync_db_create_workflow_job()
db_get_workflow_job()
sync_db_get_workflow_job()
db_get_processing_jobs()
sync_db_get_processing_jobs()
db_create_workflow_script()
sync_db_create_workflow_script()
db_get_workflow_script()
sync_db_get_workflow_script()
db_find_first_workflow_script_by_content()
sync_db_find_first_workflow_script_by_content()
verify_database_uri()
verify_mongodb_available()
- ocrd_network.logging_utils module
configure_file_handler_with_formatter()
get_root_logging_dir()
get_cache_locked_pages_logging_file_path()
get_cache_processing_requests_logging_file_path()
get_mets_server_logging_file_path()
get_processing_job_logging_file_path()
get_processing_server_logging_file_path()
get_processing_worker_logging_file_path()
get_processor_server_logging_file_path()
- ocrd_network.param_validators module
- ocrd_network.process_helpers module
- ocrd_network.processing_server module
- ocrd_network.processing_worker module
- ocrd_network.processor_server module
- ocrd_network.server_cache module
- ocrd_network.server_utils module
create_processing_message()
create_workspace_if_not_exists()
get_from_database_workflow_job()
get_from_database_workspace()
get_page_ids_list()
request_processor_server_tool_json()
forward_job_to_processor_server()
get_workflow_content()
validate_and_return_mets_path()
parse_workflow_tasks()
raise_http_exception()
validate_job_input()
validate_workflow()
validate_first_task_input_file_groups_existence()
kill_mets_server_zombies()
- ocrd_network.tcp_to_uds_mets_proxy module
- ocrd_network.utils module
call_sync()
calculate_execution_time()
calculate_processing_request_timeout()
convert_url_to_uds_format()
expand_page_ids()
generate_created_time()
generate_id()
generate_workflow_content()
generate_workflow_content_hash()
is_url_responsive()
load_ocrd_all_tool_json()
post_to_callback_url()
get_ocrd_workspace_instance()
get_ocrd_workspace_physical_pages()
is_mets_server_running()
stop_mets_server()
get_uds_path()
- ocrd_network package