feat: add face dector and bug fix
This commit is contained in:
1 parent
1cc16c8c2f
commit
ebcb6e880a
25 files changed
+4882
-193
No files matched your search
+158
-10
@@ -41,6 +41,7 @@ export const UI_COPY = {
|
||||
media: "媒体",
|
||||
text: "文本",
|
||||
caption: "字幕",
|
||||
smart: "智能",
|
||||
audio: "音频",
|
||||
transition: "转场",
|
||||
effects: "效果",
|
||||
@@ -73,7 +74,7 @@ export const UI_COPY = {
|
||||
zoomOut: "缩小时间线",
|
||||
fitTimeline: "缩放适配",
|
||||
zoomIn: "放大时间线",
|
||||
imageTrack: "图片",
|
||||
imageTrack: "画面",
|
||||
stickerTrack: "贴纸",
|
||||
sourceTrack: "视频原声",
|
||||
voiceTrack: "配音音频",
|
||||
@@ -108,10 +109,83 @@ export const UI_COPY = {
|
||||
favorite: "收藏",
|
||||
saved: "已收藏",
|
||||
showCaptions: "显示字幕",
|
||||
smartVisionTitle: "AI 智能画面",
|
||||
smartVisionKicker: "本地 ONNX 视觉",
|
||||
smartVisionReady: "分析完成",
|
||||
smartVisionIdle: "等待分析",
|
||||
smartVisionRunning: "模型运行中",
|
||||
smartVisionNoMedia: "先把图片或视频放到图片轨,再分析视觉素材。",
|
||||
smartVisionAnalyze: "识别并优化当前图片",
|
||||
smartVisionAnalyzeAgain: "重新分析当前图片",
|
||||
smartVisionAnalyzeVideo: "分析整段视频",
|
||||
smartVisionAnalyzeAgainVideo: "重新分析整段视频",
|
||||
smartVisionCancel: "取消视觉分析",
|
||||
smartVisionDetection: "主体识别框",
|
||||
smartVisionDetectionDesc: "显示 YOLOS tiny 检出的主体与常见物体",
|
||||
smartVisionMatting: "MODNet 智能抠图",
|
||||
smartVisionMattingDesc: "生成透明人像前景并用于预览与导出",
|
||||
smartVisionCaptionAvoidance: "字幕智能避让",
|
||||
smartVisionCaptionAvoidanceDesc: "自动选择与主体重叠最少的字幕位置",
|
||||
smartVisionCrop: "主体智能裁切",
|
||||
smartVisionCropDesc: "切换画幅时持续把主体保留在安全区",
|
||||
smartVisionSubject: "主主体",
|
||||
smartVisionObjects: "识别物体",
|
||||
smartVisionConfidence: "置信度",
|
||||
smartVisionImageOnly: "视频会先完成全片时序分析,再把 YOLOS 主体轨迹和 MODNet 遮罩用于每个播放与导出时刻。",
|
||||
smartVisionModels: "YOLOS tiny 定位 · MODNet 人像抠图",
|
||||
smartVisionVideoCoverage: "全视频已覆盖",
|
||||
smartVisionTemporalFrames: "个时序帧",
|
||||
smartVisionVideoCutoutExport: "遮罩随视频导出",
|
||||
smartVisionClear: "清除当前分析",
|
||||
smartVisionCutoutDownload: "下载透明 PNG",
|
||||
smartVisionNoSubject: "没有找到高置信度主体,可换一帧后重试。",
|
||||
avatarKicker: "Avatar lab · WebGPU",
|
||||
avatarTitle: "数字人(实验室)",
|
||||
avatarExperimental: "实验功能",
|
||||
avatarSupported: "浏览器已就绪",
|
||||
avatarDescription: "使用正脸照片与当前 AI 配音生成会说话的人像。首版采用浏览器端 ONNX 路径,模型将在首次生成时按需下载。",
|
||||
avatarPortrait: "正脸照片",
|
||||
avatarWebgpu: "WebGPU",
|
||||
avatarAudio: "当前配音",
|
||||
avatarCheck: "检查浏览器支持",
|
||||
avatarRecheck: "重新检查 WebGPU",
|
||||
avatarOfficial: "官方服务路线",
|
||||
avatarService: "官方推理服务",
|
||||
avatarServiceNeeded: "待配置官方 LivePortrait 服务",
|
||||
avatarServiceHint: "官方 LivePortrait 通过服务端完整模型运行:头像 + 音频驱动视频 → 正式人像动画。浏览器不会再生成伪口型结果。",
|
||||
avatarOpen: "打开数字人控制台",
|
||||
avatarLipSyncTitle: "字幕口型同步",
|
||||
avatarLipSyncDescription: "将字幕时间轴和当前 AI 配音映射为人物嘴型与表情节奏。",
|
||||
avatarCurrentPortrait: "当前图片将作为数字人头像",
|
||||
avatarNeedsPortrait: "请先在画面轨放入一张正脸图片",
|
||||
avatarNeedsAudio: "请先生成或添加配音",
|
||||
avatarLipSyncSource: "口型驱动",
|
||||
avatarCaptionSync: "按字幕时间轴同步",
|
||||
avatarNeedsCaptions: "请先生成或添加字幕",
|
||||
avatarSyncMode: "同步方式",
|
||||
avatarSyncModeCaption: "字幕 + 配音精确对齐",
|
||||
avatarGenerationNote: "生成时会按需下载浏览器 ONNX 模型;首次运行需要 WebGPU,并可能耗时较长。",
|
||||
avatarGenerate: "生成口型视频",
|
||||
avatarGenerating: "正在生成数字人视频",
|
||||
avatarGenerationHint: "首次运行会下载模型;请保持此页面打开。",
|
||||
top: "顶部",
|
||||
middle: "居中",
|
||||
bottom: "底部",
|
||||
fontSize: "字号",
|
||||
captionStyle: "字幕样式",
|
||||
captionStyleHint: "预览和导出会保持一致",
|
||||
captionPresetClassic: "经典",
|
||||
captionPresetNeon: "霓虹",
|
||||
captionPresetBubble: "气泡",
|
||||
captionTextColor: "文字",
|
||||
captionBackground: "底色",
|
||||
captionBorderColor: "外框",
|
||||
captionOpacity: "底色透明度",
|
||||
captionBorderWidth: "外框大小",
|
||||
captionRadius: "圆角",
|
||||
captionPaddingX: "左右间距",
|
||||
captionPaddingY: "上下间距",
|
||||
captionShadow: "文字阴影",
|
||||
currentCaption: "当前字幕",
|
||||
captionScriptLabel: "字幕文案",
|
||||
captionList: "字幕列表",
|
||||
@@ -199,6 +273,7 @@ export const UI_COPY = {
|
||||
media: "Media",
|
||||
text: "Text",
|
||||
caption: "Captions",
|
||||
smart: "Smart",
|
||||
audio: "Audio",
|
||||
transition: "Transitions",
|
||||
effects: "Effects",
|
||||
@@ -231,7 +306,7 @@ export const UI_COPY = {
|
||||
zoomOut: "Zoom out",
|
||||
fitTimeline: "Fit timeline",
|
||||
zoomIn: "Zoom in",
|
||||
imageTrack: "Image",
|
||||
imageTrack: "Visuals",
|
||||
stickerTrack: "Stickers",
|
||||
sourceTrack: "Source audio",
|
||||
voiceTrack: "Voiceover",
|
||||
@@ -266,10 +341,83 @@ export const UI_COPY = {
|
||||
favorite: "Favorite",
|
||||
saved: "Saved",
|
||||
showCaptions: "Show captions",
|
||||
smartVisionTitle: "AI Smart Frame",
|
||||
smartVisionKicker: "Local ONNX vision",
|
||||
smartVisionReady: "Analysis ready",
|
||||
smartVisionIdle: "Waiting to analyze",
|
||||
smartVisionRunning: "Running models",
|
||||
smartVisionNoMedia: "Place an image or video on the visual track, then analyze the visual asset.",
|
||||
smartVisionAnalyze: "Detect and optimize image",
|
||||
smartVisionAnalyzeAgain: "Analyze image again",
|
||||
smartVisionAnalyzeVideo: "Analyze full video",
|
||||
smartVisionAnalyzeAgainVideo: "Analyze full video again",
|
||||
smartVisionCancel: "Cancel vision analysis",
|
||||
smartVisionDetection: "Subject detection boxes",
|
||||
smartVisionDetectionDesc: "Show subjects and common objects found by YOLOS tiny",
|
||||
smartVisionMatting: "MODNet background removal",
|
||||
smartVisionMattingDesc: "Create a transparent portrait foreground for preview and export",
|
||||
smartVisionCaptionAvoidance: "Smart caption avoidance",
|
||||
smartVisionCaptionAvoidanceDesc: "Choose the caption position with the least subject overlap",
|
||||
smartVisionCrop: "Subject-aware crop",
|
||||
smartVisionCropDesc: "Keep the subject inside the safe area across aspect ratios",
|
||||
smartVisionSubject: "Primary subject",
|
||||
smartVisionObjects: "Objects",
|
||||
smartVisionConfidence: "Confidence",
|
||||
smartVisionImageOnly: "Video is analyzed across its full duration, then YOLOS tracks and MODNet masks are resolved for every preview and export time.",
|
||||
smartVisionModels: "YOLOS tiny detection · MODNet portrait matting",
|
||||
smartVisionVideoCoverage: "Full video coverage",
|
||||
smartVisionTemporalFrames: "temporal frames",
|
||||
smartVisionVideoCutoutExport: "Mask exports with video",
|
||||
smartVisionClear: "Clear current analysis",
|
||||
smartVisionCutoutDownload: "Download transparent PNG",
|
||||
smartVisionNoSubject: "No high-confidence subject found. Seek to another frame and retry.",
|
||||
avatarKicker: "Avatar lab · WebGPU",
|
||||
avatarTitle: "Talking avatar (Lab)",
|
||||
avatarExperimental: "Experimental",
|
||||
avatarSupported: "Browser ready",
|
||||
avatarDescription: "Generate a talking portrait from a front-facing photo and the current AI voiceover. The browser ONNX model will download on first use.",
|
||||
avatarPortrait: "Front-facing photo",
|
||||
avatarWebgpu: "WebGPU",
|
||||
avatarAudio: "Current voiceover",
|
||||
avatarCheck: "Check browser support",
|
||||
avatarRecheck: "Recheck WebGPU",
|
||||
avatarOfficial: "Official service path",
|
||||
avatarService: "Official inference service",
|
||||
avatarServiceNeeded: "Official LivePortrait service required",
|
||||
avatarServiceHint: "Official LivePortrait runs as a full server-side pipeline: portrait + audio-driven video → portrait animation. The browser will no longer produce simulated lip-sync output.",
|
||||
avatarOpen: "Open avatar controls",
|
||||
avatarLipSyncTitle: "Caption lip sync",
|
||||
avatarLipSyncDescription: "Map caption timing and the current voiceover into mouth and expression timing.",
|
||||
avatarCurrentPortrait: "Use the current image as the avatar portrait",
|
||||
avatarNeedsPortrait: "Put a front-facing photo on the visual track first",
|
||||
avatarNeedsAudio: "Generate or add voiceover first",
|
||||
avatarLipSyncSource: "Lip-sync driver",
|
||||
avatarCaptionSync: "caption timing sync",
|
||||
avatarNeedsCaptions: "Generate or add captions first",
|
||||
avatarSyncMode: "Sync method",
|
||||
avatarSyncModeCaption: "Captions + voiceover alignment",
|
||||
avatarGenerationNote: "The browser ONNX model downloads on demand. First use requires WebGPU and can take a while.",
|
||||
avatarGenerate: "Generate lip-sync video",
|
||||
avatarGenerating: "Generating avatar video",
|
||||
avatarGenerationHint: "First use downloads models. Keep this page open.",
|
||||
top: "Top",
|
||||
middle: "Middle",
|
||||
bottom: "Bottom",
|
||||
fontSize: "Font size",
|
||||
captionStyle: "Caption style",
|
||||
captionStyleHint: "Matches preview and export",
|
||||
captionPresetClassic: "Classic",
|
||||
captionPresetNeon: "Neon",
|
||||
captionPresetBubble: "Bubble",
|
||||
captionTextColor: "Text",
|
||||
captionBackground: "Background",
|
||||
captionBorderColor: "Border",
|
||||
captionOpacity: "Background opacity",
|
||||
captionBorderWidth: "Border width",
|
||||
captionRadius: "Corner radius",
|
||||
captionPaddingX: "Horizontal padding",
|
||||
captionPaddingY: "Vertical padding",
|
||||
captionShadow: "Text shadow",
|
||||
currentCaption: "Current caption",
|
||||
captionScriptLabel: "Caption text",
|
||||
captionList: "Caption list",
|
||||
@@ -380,11 +528,11 @@ export const UI_COPY = {
|
||||
recordingUnsupported: "このブラウザは録音に対応していません",
|
||||
recordingPermissionDenied: "マイクにアクセスできません。ブラウザ権限を確認してください。",
|
||||
regenerateVoice: "音声を再生成",
|
||||
imageTrack: "画像",
|
||||
imageTrack: "映像",
|
||||
sourceTrack: "動画原音",
|
||||
voiceTrack: "ナレーション",
|
||||
musicTrack: "BGM",
|
||||
dropVisualHere: "画像トラックにドロップ",
|
||||
dropVisualHere: "映像トラックにドロップ",
|
||||
dropVoiceHere: "ナレーショントラックにドロップ",
|
||||
dropSourceHere: "原音を分離",
|
||||
dropMusicHere: "BGMトラックにドロップ",
|
||||
@@ -428,7 +576,7 @@ Object.assign(UI_COPY, {
|
||||
chooseVoice: "음성 선택",
|
||||
generateVoice: "음성 생성",
|
||||
regenerateVoice: "음성 다시 생성",
|
||||
imageTrack: "이미지",
|
||||
imageTrack: "화면",
|
||||
sourceTrack: "원본 오디오",
|
||||
voiceTrack: "더빙 오디오",
|
||||
musicTrack: "배경 음악",
|
||||
@@ -469,7 +617,7 @@ Object.assign(UI_COPY, {
|
||||
chooseVoice: "Elegir voz",
|
||||
generateVoice: "Generar voz",
|
||||
regenerateVoice: "Regenerar voz",
|
||||
imageTrack: "Imagen",
|
||||
imageTrack: "Visual",
|
||||
sourceTrack: "Audio original",
|
||||
voiceTrack: "Narración",
|
||||
musicTrack: "Música",
|
||||
@@ -510,7 +658,7 @@ Object.assign(UI_COPY, {
|
||||
chooseVoice: "Choisir une voix",
|
||||
generateVoice: "Générer la voix",
|
||||
regenerateVoice: "Regénérer la voix",
|
||||
imageTrack: "Image",
|
||||
imageTrack: "Visuel",
|
||||
sourceTrack: "Audio source",
|
||||
voiceTrack: "Voix off",
|
||||
musicTrack: "Musique",
|
||||
@@ -551,7 +699,7 @@ Object.assign(UI_COPY, {
|
||||
chooseVoice: "Stimme wählen",
|
||||
generateVoice: "Stimme erzeugen",
|
||||
regenerateVoice: "Stimme neu erzeugen",
|
||||
imageTrack: "Bild",
|
||||
imageTrack: "Bildmaterial",
|
||||
sourceTrack: "Originalton",
|
||||
voiceTrack: "Voiceover",
|
||||
musicTrack: "Musik",
|
||||
@@ -592,7 +740,7 @@ Object.assign(UI_COPY, {
|
||||
chooseVoice: "Escolher voz",
|
||||
generateVoice: "Gerar voz",
|
||||
regenerateVoice: "Gerar voz novamente",
|
||||
imageTrack: "Imagem",
|
||||
imageTrack: "Visual",
|
||||
sourceTrack: "Áudio original",
|
||||
voiceTrack: "Narração",
|
||||
musicTrack: "Música",
|
||||
@@ -633,7 +781,7 @@ Object.assign(UI_COPY, {
|
||||
chooseVoice: "เลือกเสียง",
|
||||
generateVoice: "สร้างเสียง",
|
||||
regenerateVoice: "สร้างเสียงใหม่",
|
||||
imageTrack: "รูปภาพ",
|
||||
imageTrack: "ภาพ",
|
||||
sourceTrack: "เสียงต้นฉบับ",
|
||||
voiceTrack: "เสียงพากย์",
|
||||
musicTrack: "เพลง",
|
||||
|
||||
Reference in new issue
Block a user