fix: trace debug bbox transparency 0.5
This commit is contained in:
@@ -408,7 +408,7 @@ async fn trace_video(
|
|||||||
if let Some((x, y, w, h)) = bbox_per_frame.get(&(*tid, *fn_)) {
|
if let Some((x, y, w, h)) = bbox_per_frame.get(&(*tid, *fn_)) {
|
||||||
let n = *fn_ as i64 - frame_offset;
|
let n = *fn_ as i64 - frame_offset;
|
||||||
parts.push(format!(
|
parts.push(format!(
|
||||||
"drawbox=x={}:y={}:w={}:h={}:color=green@0.7:thickness=2:enable='between(n,{},{})'",
|
"drawbox=x={}:y={}:w={}:h={}:color=green@0.5:thickness=2:enable='between(n,{},{})'",
|
||||||
x, y, w, h, n, n
|
x, y, w, h, n, n
|
||||||
));
|
));
|
||||||
parts.push(format!(
|
parts.push(format!(
|
||||||
|
|||||||
Reference in New Issue
Block a user