File tree Expand file tree Collapse file tree
libs/labelbox/src/labelbox/data/serialization/ndjson Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4848 NDVideoMasks ,
4949)
5050from .relationship import NDRelationship
51+ from .utils .temporal_processor import VideoTemporalProcessor , AudioTemporalProcessor
5152
5253AnnotationType = Union [
5354 NDObjectType ,
@@ -135,7 +136,6 @@ def _create_video_annotations(
135136 yield NDObject .from_common (annotation = annot , data = label .data )
136137
137138 # Use temporal processor for video classifications and objects
138- from .utils .temporal_processor import VideoTemporalProcessor
139139 processor = VideoTemporalProcessor ()
140140 yield from processor .process_annotations (label )
141141
@@ -151,8 +151,6 @@ def _create_audio_annotations(
151151 Yields:
152152 NDClassification or NDObject: Audio annotations in NDJSON format
153153 """
154- from .utils .temporal_processor import AudioTemporalProcessor
155-
156154 # Use processor with configurable behavior
157155 processor = AudioTemporalProcessor (
158156 group_text_annotations = True , # Group multiple TEXT annotations into one feature
You can’t perform that action at this time.
0 commit comments