From c5b9ea55ebd334174d87ef5e43a2c40085e6da3d Mon Sep 17 00:00:00 2001 From: Alexandre Gobbo Date: Fri, 16 Aug 2019 11:32:27 +0200 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 18044b3..b77a735 100755 --- a/script/cpython/wrapper.py +++ b/script/cpython/wrapper.py @@ -20,7 +20,8 @@ def get_image(raw=False): return ret.data def img_get_int(fname, thres1, thres2, thres3, thres4, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2 , filter_median = False, filter_nsigma = 0): - ret = call_jep("cpython/image_functions", "img_get_int", [fname, thres1, thres2, thres3, thres4, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2, filter_median, filter_nsigma]) + reload=True + ret = call_jep("cpython/image_functions", "img_get_int", [fname, thres1, thres2, thres3, thres4, header, width, height, depth, x1,y1,x2,y2, bx1,by1,bx2,by2, filter_median, filter_nsigma], reload) #return ret #TODO: Why I_sum ans I_sum_bgr are strings? (I_sum, area_I, thresh1_count, thresh2_count, thresh3_count, thresh4_count, I_sum_bgr, area_bgr) = ret