ndtands / Layout2Graph

An official implementation of paper "Layout2Graph: A Language-independent GNN-based framework for layout analysis"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Layout2Graph: A Language-independent GNN-based framework for layout analysis

Overview of the pipeline

This is the official code released repo for Layout2Graph: A Language-independent GNN-based framework for layoutanalysis

Introduction

we propose a language-independent GNN framework for document layout analysis tasks. Our proposed model, Layout2Graph, uses a pre-trained CNN to encode image features and incorporates 2d OCR text coordinates and image features as node features in a graph. We use a dynamic graph convolutional neural network (DGCNN) to update the graph based on these features and include edge features based on relationships.

Usage

Install with pip install -r requirements.txt

Start Training: python mytools/train_graph.py

About

An official implementation of paper "Layout2Graph: A Language-independent GNN-based framework for layout analysis"


Languages

Language:Python 95.9%Language:Dockerfile 2.6%Language:Shell 1.5%