mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-02 05:47:31 +08:00
Go: format code (#16813)
### Summary Aligned to EE Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -66,8 +66,10 @@ func (p *Parser) ocrDetectAndRecognize(ctx context.Context, pageImg image.Image,
|
||||
for _, t := range texts {
|
||||
if strings.TrimSpace(t.Text) != "" {
|
||||
result = append(result, pdf.TextBox{
|
||||
X0: px0, X1: px1,
|
||||
Top: py0, Bottom: py1,
|
||||
X0: px0,
|
||||
X1: px1,
|
||||
Top: py0,
|
||||
Bottom: py1,
|
||||
Text: t.Text,
|
||||
PageNumber: pageNum,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user