From 82eb158a4f8f1edc66d7aad3e4807a222e719844 Mon Sep 17 00:00:00 2001 From: gac-x04sa Date: Tue, 30 Oct 2018 18:26:36 +0100 Subject: [PATCH] Script execution --- script/cpython/wrapper.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/script/cpython/wrapper.py b/script/cpython/wrapper.py index 6382d07..7f5ef2b 100644 --- a/script/cpython/wrapper.py +++ b/script/cpython/wrapper.py @@ -10,7 +10,8 @@ def img_get_int(fname, thres1, thres2, thres3, thres4, header, width, height, de def img_read(fname, header, width, height, depth): ret = call_jep("cpython/image_functions", "img_read", [fname, header, width, height, depth]) - return Convert.reshape(ret.data, width, height) + #return Convert.reshape(ret.data, width, height) + return ret.data