Script execution

This commit is contained in:
gac-x04sa
2018-10-30 18:20:52 +01:00
parent f8c45e1162
commit cc785a6e11
+1 -1
View File
@@ -10,7 +10,7 @@ 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 ret
return Convert.reshape(ret.data, height, width)