LabelSource#
- class LabelSource[source]#
Bases:
ABC
An interface for storage of labels for a scene.
An LabelSource is a read source of labels for a scene that could be backed by a file, a database, an API, etc. The difference between LabelSources and Labels can be understood by analogy to the difference between a database and result sets queried from a database.
Attributes
- __init__()#
Methods
__init__
()get_labels
([window])Return labels overlapping with window.