Skip to content

Generates a mesh from a binary image using OpenCV contours and Triangle library

License

Notifications You must be signed in to change notification settings

YalimD/bw_contour_to_2d_mesh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ContourToMesh

Generates a mesh from a binary image using OpenCV contours and Triangle library.

Requires: (On Python 3.6)

  • Triangle
  • Shapely
  • Openmesh
OpenCV Input Blender Result (.obj)
inputImage blenderResult
inputImage blenderResult
inputImage blenderResult
inputImage blenderResult
inputImage blenderResult

Note that the last image has been dilated/eroded in order to make the mesh more connected.

About

Generates a mesh from a binary image using OpenCV contours and Triangle library

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages