I have two programs for detected triangles on picture, but not one does not work the way I want. The main thing is that the program finds triangles on picture.