ChromaKey¶
- MLModule¶
author
package
dll
definition
keywords
Purpose¶
The ChromaKey allows replacing a background color with a second color image, enabling the implementation of a greenscreen (or bluescreen) effect on a live camera image.
Input Fields¶
input0¶
- name: input0, type: Image¶
The main input image.
input1¶
- name: input1, type: Image¶
The image that is used where the given background color is detected.
Parameter Fields¶
Visible Fields¶
Key Color¶
- name: keyColor, type: Color, default: 0 1 0¶
Sets the key color. Only the chromaticity is used; the luminance of the color is ignored.
Tol A¶
- name: tolA, type: Integer, default: 60, minimum: 0, maximum: 150¶
Sets the tolerance A.
Tol B¶
- name: tolB, type: Integer, default: 120, minimum: 0, maximum: 150¶
Sets the tolerance B.
Mask Only¶
- name: maskOnly, type: Bool, default: FALSE¶
If checked, the 8-bit mask is output instead of the color image.