Timeline.add_marker#

Timeline.add_marker(frame_id: str, color: str, name: str, note: str, duration: str, custom_data: str) bool[source]#

Creates a new marker at given frameId position and with given marker information.

Parameters:
  • frame_id (str) – frame position of the marker.

  • color (str) – color of the marker.

  • name (str) – name of the marker.

  • note (str) – note of the marker.

  • duration (str) – duration of the marker.

  • custom_data (str) – custom data of the marker.helps to attach user specific data to the marker.

Returns:

True if successful, False otherwise.

Return type:

bool