Commit 6fd406f8 authored by Administrator's avatar Administrator

样本工具增加滑窗

parent bb87ad98
......@@ -21,6 +21,7 @@ declare module 'vue' {
ElSelect: typeof import('element-plus/es')['ElSelect']
ElStep: typeof import('element-plus/es')['ElStep']
ElSteps: typeof import('element-plus/es')['ElSteps']
ElSwitch: typeof import('element-plus/es')['ElSwitch']
ElText: typeof import('element-plus/es')['ElText']
ElUpload: typeof import('element-plus/es')['ElUpload']
RouterLink: typeof import('vue-router')['RouterLink']
......
......@@ -40,6 +40,7 @@ export const onProcessing = (form: any, steps_active: any, process_loading: any,
classes_select: "",
target_fps: form.target_fps, // 目标帧率
every_x_gen_dir: form.every_x_gen_dir, // 每多少图片生成一个目录
slider_window: form.slider_window_2 ? 2 : 0, // 是否开启滑窗2张图
}
process_loading.value = true;
......
......@@ -47,6 +47,8 @@ const form = reactive({
every_x_gen_dir: 10,
// 选中的行
checkedList: [] as string[],
// 滑窗2张图
slider_window_2: false,
})
const steps_active = ref(0)
const FileSizeLimitM = 500
......@@ -77,6 +79,7 @@ const fps_options = [
const every_x_gen_dir_options = [
{value: 10, label: '10'},
{value: 5, label: '5'},
{value: 3, label: '3'},
]
// 图片显示的大小选项
const image_width_options = [
......@@ -189,6 +192,7 @@ const onCheckClipVideoBtnClick = (dir_name: string) => {
<!-- <p>裁剪框坐标:{{ form.crop_range }}</p> -->
<p>扫描框坐标:{{ form.box_range }}</p>
<!-- <p>{{ form.task_id }}</p> -->
<el-switch v-model="form.slider_window_2" active-text="开启滑窗,每次重复2张图"/>
</div>
<div class="button">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment