Skip to content

Commit a6d6c07

Browse files
PatrickPenguinTurtleJLLeitschuh
authored andcommitted
Fixes issue with CV_Resize operation have fx socket hint twice instead of fy (#596)
1 parent 405630c commit a6d6c07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/edu/wpi/grip/core/operations/CVOperations.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ public class CVOperations {
278278
templateFactory.create(
279279
SocketHints.Inputs.createMatSocketHint("src", false),
280280
new SocketHint.Builder<>(Size.class).identifier("dsize").initialValueSupplier(() -> new Size(0, 0)).build(),
281-
SocketHints.Inputs.createNumberSpinnerSocketHint("fx", .25), SocketHints.Inputs.createNumberSpinnerSocketHint("fx", .25),
281+
SocketHints.Inputs.createNumberSpinnerSocketHint("fx", .25), SocketHints.Inputs.createNumberSpinnerSocketHint("fy", .25),
282282
SocketHints.createEnumSocketHint("interpolation", InterpolationFlagsEnum.INTER_LINEAR),
283283
SocketHints.Outputs.createMatSocketHint("dst"),
284284
(src, dsize, fx, fy, interpolation, dst) -> {

0 commit comments

Comments
 (0)