<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/google-ai-edge/mediapipe/blob/master/mediapipe/tasks/python/audio/audio_transcriber.py#L140-L155) |

A single transcribed segment with start and end timestamps.

    mp.tasks.audio.TranscriptionSegment(
        transcript: str,
        is_final: bool,
        from_timestamp_ms: int,
        to_timestamp_ms: int
    )

<br />

<br />

<br />

| ## Attributes ||
|---|---|
| `transcript` | The recognized text for this audio segment. |
| `is_final` | Whether this segment is finalized or an interim hypothesis. |
| `from_timestamp_ms` | Segment start time in milliseconds relative to stream start. |
| `to_timestamp_ms` | Segment end time in milliseconds relative to stream start. |

<br />

## Methods

### `__eq__`

    __eq__(
        other
    )

Return self==value.