Shortcuts

mmpose.apis.webcam.utils.load_image_from_disk_or_url

mmpose.apis.webcam.utils.load_image_from_disk_or_url(filename: str, readFlag: int = 1)numpy.ndarray[source]

Load an image file, from disk or url.

Parameters
  • filename (str) – file name on the disk or url link

  • readFlag (int) – readFlag for imdecode. Default: cv2.IMREAD_COLOR

Returns

A loaded image

Return type

np.ndarray

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.