Skip to content

opencv_contrib/freetype Module #384

@hoyiliang

Description

@hoyiliang

Is your feature request related to a problem? Please describe.
The Hershey font used by putText is severely limited on what characters it can draw.

Describe the solution you'd like
https://github.com/opencv/opencv_contrib/tree/master/modules/freetype

If possible, I would like to learn how you would implement the bindings from the compiled binaries to Dart. Have been developing in Flutter for 2 years but have never tried to develop with native binaries.

Describe alternatives you've considered

  1. Pillow (PIL), an image processing library in Python, is not available in Dart.

  2. Image library (source: https://pub.dev/packages/image), has a severely limited support with font manipulation (especially in font sizes, you can only make a font file with a static size like 12, 24, 48).

Additional context
Even single quote ' is not able to be drawn by the putText method.

With this module, it also opens up the possibility to draw other languages' characters

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions