From d8c7cc3d93a00ff203153259c242062638e4cb68 Mon Sep 17 00:00:00 2001 From: iperov Date: Wed, 13 Oct 2021 14:35:26 +0400 Subject: [PATCH] DFLJPG increase max chunk size for xseg data --- DFLIMG/DFLJPG.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DFLIMG/DFLJPG.py b/DFLIMG/DFLJPG.py index 291db71..614cebc 100644 --- a/DFLIMG/DFLJPG.py +++ b/DFLIMG/DFLJPG.py @@ -308,7 +308,7 @@ class DFLJPG(object): mask_a = imagelib.normalize_channels(mask_a, 1) img_data = np.clip( mask_a*255, 0, 255 ).astype(np.uint8) - data_max_len = 8192 + data_max_len = 50000 ret, buf = cv2.imencode('.png', img_data)