Nodes/comfyui_cv/cv2.getFontScaleFromHeight
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.

By bmad4ever·Created 3 months ago·Updated 2 days ago· 0
cv2.getFontScaleFromHeight
    • float
    fontFaceFONT_HERSHEY_SIMPLEX
    pixelHeight0
    thickness1
    Categoryimage/CV/low-level/cv2 G

    Inputs (3)

    NameTypeDefaultDescription
    fontFaceCOMBOFONT_HERSHEY_SIMPLEXFont to use, see cv::HersheyFonts.
    pixelHeightINT0-2147483648–2147483647Pixel height to compute the fontScale for
    thicknessoptINT1-2147483648–2147483647Thickness of lines used to render the text.See putText for details. Preset to the OpenCV default (1).

    Outputs (1)

    NameTypeDescription
    floatFLOAT