Calculates the font-specific size to use to achieve a given height in pixels
fontScale = cv.getFontScaleFromHeight(pixelHeight)
fontScale = cv.getFontScaleFromHeight(..., 'OptionName',optionValue, ...)
Input
- pixelHeight Pixel height to compute the
fontScale
for.
Output
Options
- FontFace Font to use. One of the following:
- HersheySimplex (default)
- HersheyPlain
- HersheyDuplex
- HersheyComplex
- HersheyTriplex
- HersheyComplexSmall
- HersheyScriptSimplex
- HersheyScriptComplex
- FontStyle Font style. One of:
- Thickness Thickness of lines used to render the text. default 1