ComfyUI Node
cv2.getFontScaleFromHeight
Raw wrapper of cv2.getFontScaleFromHeight(fontFace, pixelHeight, thickness?). Parameters marked '?' are optional; blank means OpenCV default. See the OpenCV documentation for details.
cv2.getFontScaleFromHeight
- float
◄fontFaceFONT_HERSHEY_SIMPLEX►
◄pixelHeight0►
◄thickness1►
Categoryimage/CV/low-level/cv2 G
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| fontFace | COMBO | FONT_HERSHEY_SIMPLEX | Font to use, see cv::HersheyFonts. |
| pixelHeight | INT | 0-2147483648–2147483647 | Pixel height to compute the fontScale for |
| thicknessopt | INT | 1-2147483648–2147483647 | Thickness of lines used to render the text.See putText for details. Preset to the OpenCV default (1). |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| float | FLOAT | — |