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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user