From ac56eba7eb6119a762409b083f9798eea8375fd3 Mon Sep 17 00:00:00 2001 From: WenmuZhou Date: Tue, 8 Jun 2021 15:41:25 +0800 Subject: [PATCH] del pad --- ppocr/postprocess/db_postprocess.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ppocr/postprocess/db_postprocess.py b/ppocr/postprocess/db_postprocess.py index bcba1fd5..769ddbe2 100755 --- a/ppocr/postprocess/db_postprocess.py +++ b/ppocr/postprocess/db_postprocess.py @@ -54,6 +54,7 @@ class DBPostProcess(object): _bitmap: single map with shape (1, H, W), whose values are binarized as {0, 1} ''' + bitmap = _bitmap height, width = bitmap.shape -- GitLab