0
I want program for distance and direction between two mouse clicks on screen uaing python is anyone will help me?
two clicks should capture coordinates (x,y) and can be used to find out distance using distance formula
2 Réponses
+ 2
if you are using opencv library, use set mouse callback function for the position of mouse click and then for the calculation of distance use the euclidean distance formula.