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: 0.x
Versions
latest
1.x
v1.0.0rc1
v0.29.0
v0.28.0
dev-1.x
0.x
Downloads
pdf
html
epub
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.