🐛 fixing foregroundThreshold
This commit is contained in:
@@ -91,7 +91,7 @@ export default class BodySegmentation extends Node<typeof inputs, typeof outputs
|
|||||||
|
|
||||||
const foregroundColor = {r: 0, g: 0, b: 0, a: 0};
|
const foregroundColor = {r: 0, g: 0, b: 0, a: 0};
|
||||||
const backgroundColor = {r: 0, g: 0, b: 0, a: 255};
|
const backgroundColor = {r: 0, g: 0, b: 0, a: 255};
|
||||||
const foregroundThreshold = this.in.maskBlurAmount.value;
|
const foregroundThreshold = this.in.foregroundThreshold.value;
|
||||||
const backgroundDarkeningMask = await toBinaryMask(
|
const backgroundDarkeningMask = await toBinaryMask(
|
||||||
segmentations,
|
segmentations,
|
||||||
foregroundColor,
|
foregroundColor,
|
||||||
|
|||||||
Reference in New Issue
Block a user