File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
libs/labelbox/src/labelbox/data/annotation_types Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,28 @@ class AudioClassificationAnnotation(ClassificationAnnotation):
2424 """
2525
2626 start_frame : int
27- end_frame : Optional [int ] = None
2827 segment_index : Optional [int ] = None
2928
3029
30+ class AudioTextClassificationAnnotation (ClassificationAnnotation ):
31+ """Audio classification for specific time range
32+
33+ Examples:
34+ - Speaker identification from 2500ms to 4100ms
35+ - Audio quality assessment for a segment
36+ - Language detection for audio segments
37+
38+ Args:
39+ name (Optional[str]): Name of the classification
40+ feature_schema_id (Optional[Cuid]): Feature schema identifier
41+ value (Union[Text, Checklist, Radio]): Classification value
42+ start_frame (int): The frame index in milliseconds (e.g., 2500 = 2.5 seconds)
43+ end_frame (Optional[int]): End frame in milliseconds (for time ranges)
44+ segment_index (Optional[int]): Index of audio segment this annotation belongs to
45+ extra (Dict[str, Any]): Additional metadata
46+ """
47+
48+ start_frame : int
49+ end_frame : int = None
50+
51+
You can’t perform that action at this time.
0 commit comments