Is it possible generate a 2D triangular mesh using opencv python? My ultimate goal is obtain a binary image with the mesh drawn in order to use this "new image" as a mask layer.
I have this image:
I want to generate something like this:
This image above is a plot with matplotlib of a possible mesh for the first image. I'm using different modules to generate the mesh, and one of my problens is this mesh (on the plot is 3D) and I want to have a 2D mesh. I want to keep all the images with the same size, so I think it i wise use only 1 module, like opencv.
Thanks