From e434f99f4be541f3919b06a52ccaa3c48ef627f0 Mon Sep 17 00:00:00 2001 From: Virginia Dooley Date: Thu, 21 Sep 2023 12:28:06 +0100 Subject: [PATCH] WIP sopn process diagram --- ynr/apps/sopn_parsing/sopn_processing.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ynr/apps/sopn_parsing/sopn_processing.md diff --git a/ynr/apps/sopn_parsing/sopn_processing.md b/ynr/apps/sopn_parsing/sopn_processing.md new file mode 100644 index 000000000..ca7b581e4 --- /dev/null +++ b/ynr/apps/sopn_parsing/sopn_processing.md @@ -0,0 +1,12 @@ +```mermaid +graph TD + A[Upload the document] --> B{Is it a PDF?}; + B --> Yes --> C[Detect Pages: it more than 1 page?]; + C --> Yes --> D[Send it to page extraction and matching]; + + B --> No --> E[Detect Pages: it more than 1 page?]; + E --> Yes --> F[Convert to PDF and send it to page extraction and matching]; + E --> No --> G[Send it to Textract for table extraction]; + F --> G[Send it to Textract for table extraction]; + G --> E[End] +```