revert: disable Pose processor (was cancelled decision)
Pose was previously decided to be removed (ProcessorType::all()
already excludes it: 'Disabled in production pipeline'). However,
create_monitor_job's default processors array still contained 'pose',
job_worker's auto-pipeline status init still listed pose/appearance,
and processor_tools_v3.json had pose implementations enabled.
This reverts the pose portions of 8c6a2de8 (pose.rs placeholder
expansion and config --output args change) and fully disables Pose:
- config/processor_tools_v3.json: pose swift/mediapipe enabled=false,
restore original --output args for swift
- src/core/db/postgres_db.rs: create_monitor_job default processors
no longer includes 'pose'
- src/worker/job_worker.rs: auto-pipeline status init no longer lists
pose/appearance
- src/core/processor/pose.rs: revert placeholder expansion (unchanged
from pre-8c6a2de8)
Face config-driven fix (positional args + placeholder expansion) is kept.
This commit is contained in:
@@ -526,14 +526,7 @@ async fn run_pose_with_config(
|
||||
|
||||
let args = if !tool.args.is_empty() {
|
||||
tracing::info!("[POSE] Using args from config: {:?}", tool.args);
|
||||
tool.args
|
||||
.iter()
|
||||
.map(|a| {
|
||||
a.replace("{video_path}", video_path)
|
||||
.replace("{output_path}", output_path)
|
||||
.replace("{file_uuid}", uuid.unwrap_or(""))
|
||||
})
|
||||
.collect()
|
||||
tool.args.clone()
|
||||
} else {
|
||||
let mut args = vec![video_path.to_string(), output_path.to_string()];
|
||||
if let Some(u) = uuid {
|
||||
|
||||
Reference in New Issue
Block a user