ovl.image_utilities.open_image module¶
-
ovl.image_utilities.open_image.
open_image
(image_path, flags=None)[source]¶ Opens an image file, has a more direct error detection to find out problems that occurred during image opening, has a cost in performance.
Parameters: - image_path – the path of the image to open
- flags – there are multiple flags that can be used to alter how the image is loaded https://docs.opencv.org/4.3.0/d4/da8/group__imgcodecs.html#ga288b8b3da0892bd651fce07b3bbd3a56
Returns: the opened image or a iterator that opens the list of images given