mmpose.apis.webcam.utils.is_image_file¶ mmpose.apis.webcam.utils.is_image_file(path: str) → bool[source]¶ Check if a path is an image file by its extension. Parameters path (str) – The image path. Returns Weather the path is an image file. Return type bool