using System.Text.Json.Serialization;
using Whisper.net;
namespace VideoAnalysisCore.AICore.SherpaOnnx
{
public class SenseVoiceInput()
{
///
/// 文本
///
[JsonPropertyName("r")]
public string Text { get; set; } = string.Empty;
///
/// 开始时间
///
[JsonPropertyName("t")]
public float Start { get; set; }
}
///
/// 字幕识别 结果
///
public class SenseVoiceRes
{
public SenseVoiceRes()
{
}
///
/// 文本
///
public string Text { get; set; } = string.Empty;
///
/// 开始时间
///
public float Start { get; set; }
///
/// 结束时间
///
public float End { get; set; }
}
}