From 62d302ff85133abbf9e8a5f68d85537b65584c4d Mon Sep 17 00:00:00 2001 From: LKKlein <1172977438@qq.com> Date: Wed, 4 Nov 2020 11:45:00 +0800 Subject: [PATCH] fix paddleocr-go module path --- deploy/paddleocr-go/demo.go | 2 +- deploy/paddleocr-go/go.mod | 2 +- deploy/paddleocr-go/go.sum | 2 -- deploy/paddleocr-go/ocr/core.go | 2 +- deploy/paddleocr-go/ocr/postprocess.go | 2 +- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/deploy/paddleocr-go/demo.go b/deploy/paddleocr-go/demo.go index 318c9c2c..3f8f858f 100644 --- a/deploy/paddleocr-go/demo.go +++ b/deploy/paddleocr-go/demo.go @@ -3,7 +3,7 @@ package main import ( "flag" "log" - "github.com/LKKlein/PaddleOCR/deploy/paddleocr-go/ocr" + "github.com/PaddlePaddle/PaddleOCR/deploy/paddleocr-go/ocr" ) var ( diff --git a/deploy/paddleocr-go/go.mod b/deploy/paddleocr-go/go.mod index 54829591..5b99dfcb 100644 --- a/deploy/paddleocr-go/go.mod +++ b/deploy/paddleocr-go/go.mod @@ -1,4 +1,4 @@ -module github.com/LKKlein/PaddleOCR/deploy/paddleocr-go +module github.com/PaddlePaddle/PaddleOCR/deploy/paddleocr-go go 1.14 diff --git a/deploy/paddleocr-go/go.sum b/deploy/paddleocr-go/go.sum index 4f1fd3fa..c8584d8e 100644 --- a/deploy/paddleocr-go/go.sum +++ b/deploy/paddleocr-go/go.sum @@ -1,5 +1,3 @@ -github.com/LKKlein/gocv v0.27.0 h1:JGNBMa2HY7HC0VlVHB4gdFjoc9NlyyrQvlUdBMWWSYw= -github.com/LKKlein/gocv v0.27.0/go.mod h1:MP408EL7eakRU3vzjsozzfELSX7HDDGdMpWANV1IOHY= github.com/LKKlein/gocv v0.28.0 h1:1MMvs9uYf+QGPi86it2pUmN8RRoyMnPLUefKB/Jf1Q0= github.com/LKKlein/gocv v0.28.0/go.mod h1:MP408EL7eakRU3vzjsozzfELSX7HDDGdMpWANV1IOHY= github.com/ctessum/go.clipper v0.0.0-20200522184404-9c744fa3e86c h1:VXCsVlam0R2Yl7VET2GxZBPdOa7gFRexyhfWb9v9QtM= diff --git a/deploy/paddleocr-go/ocr/core.go b/deploy/paddleocr-go/ocr/core.go index bde6d501..11986fdf 100644 --- a/deploy/paddleocr-go/ocr/core.go +++ b/deploy/paddleocr-go/ocr/core.go @@ -16,7 +16,7 @@ import ( "strings" "github.com/LKKlein/gocv" - "github.com/LKKlein/PaddleOCR/deploy/paddleocr-go/paddle" + "github.com/PaddlePaddle/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 43c5a5b6..ea79d884 100644 --- a/deploy/paddleocr-go/ocr/postprocess.go +++ b/deploy/paddleocr-go/ocr/postprocess.go @@ -7,7 +7,7 @@ import ( "sort" "github.com/LKKlein/gocv" - "github.com/LKKlein/PaddleOCR/deploy/paddleocr-go/paddle" + "github.com/PaddlePaddle/PaddleOCR/deploy/paddleocr-go/paddle" clipper "github.com/ctessum/go.clipper" ) -- GitLab