Tri Me is a browser experiment that explores the application of computer vision techniques to a user’s webcam. In this case, Delaunay Triangulation is performed on the points returned by one of three methods of 2D feature detection. The colors of the resulting triangles then can be manipulated for unusual visual effects.
Tri Me relies on new WebRTC features in modern browsers to access the webcam without the use of plugins. It also uses the HTML5 video and canvas tags for capturing and manipulating the video.
Eugene Zatepyakin‘s excellent JSFeat library made Tri Me possible.
What is Delaunay triangulation ??
For a set of points on the same line there is no Delaunay triangulation (the notion of triangulation is degenerate for this case). For four or more points on the same circle (e.g., the vertices of a rectangle) the Delaunay triangulation is not unique: each of the two possible triangulations that split the quadrangle into two triangles satisfies the "Delaunay condition", i.e., the requirement that the circumcircles of all triangles have empty interiors.