Shortcuts

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

Read the Docs v: v0.28.0
Versions
latest
v0.28.0
v0.27.0
v0.26.0
Downloads
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.