module image
Global Variables
- ffi
class ImageClassify
An Image Classify model vAccel resource.
Attributes:
out_size
(int): The maximum length of the output tag
method __init__
__init__()
classmethod classify_from_filename
classify_from_filename(session: Session, source: str) → str
Initialize an ImageClassify model by loading image from filename
Args:
session
: A vaccel.Session instancesource
: A string containing the image's file path
Returns: A string containing the classifiaction tag
Raises:
VaccelError
: An error occured while executing the image classification operation
class ImageDetect
An Image Detect model vAccel resource
Attributes:
out_size
(int): The maximum length of the output tag
method __init__
__init__()
classmethod detect_from_filename
detect_from_filename(session: Session, source: str) → str
Initialize an ImageDetect model by loading image from filename
Args:
session
: A vaccel.Session instancesource
: A string containing the image's file path
Returns: A string containing the detection result
Raises:
VaccelError
: An error occured while executing the image detection operation
class ImageSegment
An Image Segment model vAccel resource
Attributes:
out_size
(int): The maximum length of the output tag
method __init__
__init__()
classmethod segment_from_filename
segment_from_filename(session: Session, source: str) → str
Initialize an ImageSegment model by loading image from filename
Args:
session
: A vaccel.Session instancesource
: A string containing the image's file path
Returns: A string containing the segmentation result
Raises:
VaccelError
: An error occured while executing the image segmentation operation
class ImagePose
An Image Pose model vAccel resource
Attributes:
out_size
(int): The maximum length of the output tag
method __init__
__init__()
classmethod pose_from_filename
pose_from_filename(session: Session, source: str) → str
Initialize an ImagePose model by loading image from filename
Args:
session
: A vaccel.Session instancesource
: A string containing the image's file path
Returns: A string containing the pose result
Raises:
VaccelError
: An error occured while executing the image pose operation
class ImageDepth
An Image Depth model vAccel resource
Attributes:
out_size
(int): The maximum length of the output tag
method __init__
__init__()
classmethod depth_from_filename
depth_from_filename(session: Session, source: str) → str
Initialize an ImageDepth model by loading image from filename
Args:
session
: A vaccel.Session instancesource
: A string containing the image's file path
Returns: A string containing the depth result
Raises:
VaccelError
: An error occured while executing the image depth operation