using Whisper.net; namespace VideoAnalysisCore.AICore.Whisper { /// /// 字幕识别 结果 /// public class WhisperResDto { /// /// /// /// public WhisperResDto(SegmentData sd) { Text = sd.Text; Start = sd.Start; End = sd.End; } /// /// 文本 /// public string Text { get; } = string.Empty; /// /// 开始时间 /// public TimeSpan Start { get; } /// /// 结束时间 /// public TimeSpan End { get; } } }