This repo contains two python files from which you can find the angles of triangles automatically or using mouse clicks. Each method has their own pros and cons which can be improved. Both the detection methods contain their pros and cons
Well, the automatic angle detection will be able to detect angles of equilateral and isosceles triangle approximately but this method is not yet efficient for finding angles of scalene triangle.
This method is efficient so that based on the coordinate points taken from the mouse click events we will be able to calculate the angle between the points