Repository for OpenCV's extra modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

782 B

Render vector graphics using Viz2D

@prev_tutorial{viz2d_display_image} @next_tutorial{viz2d_render_opengl}

Original author Amir Hassan (kallaballa) amir@viel-zu.org
Compatibility OpenCV >= 4.7

Vector graphics

Through the nvg context javascript-canvas-like rendering is possible.

@include samples/cpp/vector_graphics.cpp

The result

Vector graphics and framebuffer manipulation

The framebuffer can be accessed directly to manipulate data created in other contexts. In this case vector graphics is rendered to the framebuffer through NanoVG and then blurred using an ```fb`` context.

@include samples/cpp/vector_graphics_and_fb.cpp

The result