OpenCV  4.9.0-dev
Open Source Computer Vision
Loading...
Searching...
No Matches
Classes | Functions
Drawing UTF-8 strings with freetype/harfbuzz

Detailed Description

This modules is to draw UTF-8 strings with freetype/harfbuzz.

  1. Install freetype2 and harfbuzz in your system.
  2. Create FreeType2 instance with createFreeType2() function.
  3. Load font file with loadFontData() function.
  4. Draw text with putText() function.

Classes

class  cv::freetype::FreeType2
 

Functions

Ptr< FreeType2cv::freetype::createFreeType2 ()
 Create FreeType2 Instance.
 

Function Documentation

◆ createFreeType2()

Ptr< FreeType2 > cv::freetype::createFreeType2 ( )

#include <opencv2/freetype.hpp>

Create FreeType2 Instance.

The function createFreeType2 create instance to draw UTF-8 strings.