Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
aitools
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周成波
aitools
Commits
6fd406f8
Commit
6fd406f8
authored
Nov 11, 2025
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样本工具增加滑窗
parent
bb87ad98
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
components.d.ts
components.d.ts
+1
-0
process.ts
src/views/sample_handle_v2/compositions/process.ts
+1
-0
index.vue
src/views/sample_handle_v2/index.vue
+4
-0
No files found.
components.d.ts
View file @
6fd406f8
...
...
@@ -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'
]
...
...
src/views/sample_handle_v2/compositions/process.ts
View file @
6fd406f8
...
...
@@ -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
;
...
...
src/views/sample_handle_v2/index.vue
View file @
6fd406f8
...
...
@@ -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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment