mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Fix image.gaussian return object.
This commit is contained in:
parent
926be29c43
commit
6beb89c6e6
@ -870,7 +870,7 @@ static mp_obj_t py_image_gaussian(uint n_args, const mp_obj_t *args, mp_map_t *k
|
|||||||
imlib_morph(arg_img, 2, kernel_gauss_5, 1.0f/159.0f, 0.0f);
|
imlib_morph(arg_img, 2, kernel_gauss_5, 1.0f/159.0f, 0.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
return arg_img;
|
return args[0];
|
||||||
}
|
}
|
||||||
|
|
||||||
static mp_obj_t py_image_histeq(mp_obj_t img_obj)
|
static mp_obj_t py_image_histeq(mp_obj_t img_obj)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user