feat: integrate ASRX/OCR/Face display into VideoPlayer callers
SearchView: - Enable ASRX subtitle + OCR bbox - show-asrx='true', show-ocr='true' PeopleView/PersonDetailView: - Enable Face bbox (existing allTraces) - show-face='true' LibraryView: - Keep simple mode (no processor overlays)
This commit is contained in:
@@ -274,7 +274,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<VideoPlayer v-if="playing" :file-uuid="currentVideo.fileUuid" :start-frame="currentVideo.startFrame" :end-frame="currentVideo.endFrame" :all-traces="clusterVideoTraces" :merged-segments="clusterVideoSegments" :title="currentVideo.title" @close="playing = false; clusterVideoTraces = []; clusterVideoSegments = []" />
|
<VideoPlayer v-if="playing" :file-uuid="currentVideo.fileUuid" :start-frame="currentVideo.startFrame" :end-frame="currentVideo.endFrame" :all-traces="clusterVideoTraces" :merged-segments="clusterVideoSegments" :title="currentVideo.title" :show-face="true" :show-asrx="false" :show-ocr="false" :show-pose="false" @close="playing = false; clusterVideoTraces = []; clusterVideoSegments = []" />
|
||||||
|
|
||||||
<!-- Merge Target Selection Modal -->
|
<!-- Merge Target Selection Modal -->
|
||||||
<div v-if="showMergeTargetModal" class="ms-modal-overlay show" @click.self="showMergeTargetModal = false">
|
<div v-if="showMergeTargetModal" class="ms-modal-overlay show" @click.self="showMergeTargetModal = false">
|
||||||
|
|||||||
@@ -270,7 +270,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<VideoPlayer v-if="playing" :file-uuid="currentVideo.fileUuid" :start-frame="currentVideo.startFrame" :end-frame="currentVideo.endFrame" :all-traces="allTraces" :merged-segments="mergedSegments" :initial-trace-idx="currentVideo.traceIdx" :title="currentVideo.title" @close="playing = false" />
|
<VideoPlayer v-if="playing" :file-uuid="currentVideo.fileUuid" :start-frame="currentVideo.startFrame" :end-frame="currentVideo.endFrame" :all-traces="allTraces" :merged-segments="mergedSegments" :initial-trace-idx="currentVideo.traceIdx" :title="currentVideo.title" :show-face="true" :show-asrx="false" :show-ocr="false" :show-pose="false" @close="playing = false" />
|
||||||
|
|
||||||
<!-- Trace strip context menu -->
|
<!-- Trace strip context menu -->
|
||||||
<div v-if="traceCtxMenu.show" class="ms-ctx-menu" :style="{ left: traceCtxMenu.x + 'px', top: traceCtxMenu.y + 'px', display: 'block' }" @click.stop @mousedown.stop @pointerdown.stop>
|
<div v-if="traceCtxMenu.show" class="ms-ctx-menu" :style="{ left: traceCtxMenu.x + 'px', top: traceCtxMenu.y + 'px', display: 'block' }" @click.stop @mousedown.stop @pointerdown.stop>
|
||||||
|
|||||||
@@ -193,6 +193,10 @@
|
|||||||
:start-frame="currentVideo.startFrame"
|
:start-frame="currentVideo.startFrame"
|
||||||
:end-frame="currentVideo.endFrame"
|
:end-frame="currentVideo.endFrame"
|
||||||
:title="currentVideo.title"
|
:title="currentVideo.title"
|
||||||
|
:show-asrx="true"
|
||||||
|
:show-ocr="true"
|
||||||
|
:show-face="false"
|
||||||
|
:show-pose="false"
|
||||||
@close="playing = false"
|
@close="playing = false"
|
||||||
/>
|
/>
|
||||||
<div v-if="selectionPopup.show" class="sel-popup" :style="{ top: selectionPopup.y + 'px', left: selectionPopup.x + 'px' }">
|
<div v-if="selectionPopup.show" class="sel-popup" :style="{ top: selectionPopup.y + 'px', left: selectionPopup.x + 'px' }">
|
||||||
|
|||||||
Reference in New Issue
Block a user