From e5b4cf75f745aaa936471dadbfb537dc2ad3a6bf Mon Sep 17 00:00:00 2001 From: LKKlein <1172977438@qq.com> Date: Tue, 3 Nov 2020 19:16:55 +0800 Subject: [PATCH] fix paddleocr-go path --- deploy/paddleocr-go/demo.go | 2 +- deploy/paddleocr-go/ocr/core.go | 2 +- deploy/paddleocr-go/ocr/postprocess.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy/paddleocr-go/demo.go b/deploy/paddleocr-go/demo.go index f2226379..318c9c2c 100644 --- a/deploy/paddleocr-go/demo.go +++ b/deploy/paddleocr-go/demo.go @@ -3,7 +3,7 @@ package main import ( "flag" "log" - "paddleocr-go/ocr" + "github.com/LKKlein/PaddleOCR/deploy/paddleocr-go/ocr" ) var ( diff --git a/deploy/paddleocr-go/ocr/core.go b/deploy/paddleocr-go/ocr/core.go index 626eeb54..bde6d501 100644 --- a/deploy/paddleocr-go/ocr/core.go +++ b/deploy/paddleocr-go/ocr/core.go @@ -10,13 +10,13 @@ import ( "log" "math" "net/http" - "paddleocr-go/paddle" "path" "path/filepath" "sort" "strings" "github.com/LKKlein/gocv" + "github.com/LKKlein/PaddleOCR/deploy/paddleocr-go/paddle" ) type PaddleModel struct { diff --git a/deploy/paddleocr-go/ocr/postprocess.go b/deploy/paddleocr-go/ocr/postprocess.go index 64d1518b..43c5a5b6 100644 --- a/deploy/paddleocr-go/ocr/postprocess.go +++ b/deploy/paddleocr-go/ocr/postprocess.go @@ -4,10 +4,10 @@ import ( "image" "image/color" "math" - "paddleocr-go/paddle" "sort" "github.com/LKKlein/gocv" + "github.com/LKKlein/PaddleOCR/deploy/paddleocr-go/paddle" clipper "github.com/ctessum/go.clipper" ) -- GitLab