mmpose.apis.webcam.utils.FrameMessage¶
- class mmpose.apis.webcam.utils.FrameMessage(img)[source]¶
The message to store information of a video frame.
Methods
__init__
(img)Initialize self.
get_image
()Get the frame image.
get_objects
([obj_filter])Get object information from the frame data.
get_route_info
()merge_route_info
(route_info)Merge the given route information into the original one of the message.
set_image
(img)Set the frame image to the message.
set_objects
(objects)Set the object information.
set_route_info
(route_info)Directly set the entire route information.
update_objects
(objects)Update object information.
update_route_info
([node, node_name, …])Append new node information to the route information.