fiftyone.core.media¶
Sample media utilities.
Exceptions:
Exception raised when a problem with media types is encountered. |
Functions:
|
Gets the media type for the given filepath. |
-
fiftyone.core.media.
get_media_type
(filepath)¶ Gets the media type for the given filepath.
- Parameters
filepath – a filepath
- Returns
the media type