canny edge detection

hi there
i’m using a library ‘‘img.find_edges(image.EDGE_CANNY, threshold=(50, 80))’’ in my code but i need more functions of edges like i need edge colour and edge number. I want to access the source code for this library so that i can change that code according to my requirements .
Please guide me how i can access this library code.

Hi, that method is slated to be redone. Don’t have time yet. Anyway, the code for that is here: