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] +```