RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
fix coordinate error (#686)
KevinHuSh99be226c7cc6
diff --git a/deepdoc/parser/pdf_parser.py b/deepdoc/parser/pdf_parser.pyindex 763631e320..b95fd2f741 100644--- a/deepdoc/parser/pdf_parser.py+++ b/deepdoc/parser/pdf_parser.py@@ -749,6 +749,7 @@ class RAGFlowPdfParser:"layoutno", "")))left, top, right, bott = b["x0"], b["top"], b["x1"], b["bottom"]+ if right < left: right = left + 1poss.append((pn + self.page_from, left, right, top, bott))return self.page_images[pn] \.crop((left * ZM, top * ZM,