1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-21 19:33:03 +04:00

Merge pull request #26778 from vidipsingh:doc-fix-fontscale-behavior-puttext

Added fontScale behavior description to putText() documentation
This commit is contained in:
Alexander Smorkalov
2025-01-21 11:21:42 +03:00
committed by GitHub
@@ -4850,6 +4850,11 @@ The function cv::putText renders the specified text string in the image. Symbols
using the specified font are replaced by question marks. See #getTextSize for a text rendering code
example.
The `fontScale` parameter is a scale factor that is multiplied by the base font size:
- When scale > 1, the text is magnified.
- When 0 < scale < 1, the text is minimized.
- When scale < 0, the text is mirrored or reversed.
@param img Image.
@param text Text string to be drawn.
@param org Bottom-left corner of the text string in the image.