ProjectSettings¶
-
class ProjectSettings(multiview_enabled=
False, multiview_tag_name=None, multiview_tag_id=None, multiview_is_synced=False, labeling_interface=None)[source]¶ Bases:
JsonSerializableProject settings: multi-view mode, labeling interface, etc.
- Parameters:
- multiview_enabled : bool¶
Enable multi-view mode.
- multiview_tag_name : str, optional¶
Name of the tag used as group tag for multi-window mode.
- multiview_tag_id : int, optional¶
Id of the tag used as group tag for multi-window mode.
- multiview_is_synced : bool¶
Enable synchronization of views for multi-view mode.
- labeling_interface : str, optional¶
The interface for labeling images.
- Raises:
ValidationError – if settings schema is invalid.
- Usage Example:
import supervisely as sly settings_json = {"multiView": {"enabled": True, "tagName": "group_tag", "tagId": None, "isSynced": False}} settings = sly.ProjectSettings.from_json(settings_json)
Methods
clonefrom_jsonto_jsonvalidate