cargo fmt
This commit is contained in:
parent
98db2e2630
commit
5692404a5b
1 changed files with 1 additions and 4 deletions
|
|
@ -73,10 +73,7 @@ impl ProcessingStep for CropAndResizeStep {
|
|||
let scale = output_size as f32 / cropped_size as f32;
|
||||
|
||||
// Store scale for downstream steps (e.g. blur normalization)
|
||||
ctx.set_computed(
|
||||
computed_keys::CROP_SCALE,
|
||||
ComputedValue::Float(scale),
|
||||
);
|
||||
ctx.set_computed(computed_keys::CROP_SCALE, ComputedValue::Float(scale));
|
||||
|
||||
let scaled_face_rect = BoundingBox {
|
||||
x1: crop_result.face_rect.x1 * scale,
|
||||
|
|
|
|||
Loading…
Reference in a new issue