I need to count the number of matched track in two figures. As you can see in figure "T140-1.jpg" the matched track (red and black) are staying close to each other. Since the number is too small I can count manually. But in real case I have more than 70000 tracks in each file and then need to draw and count the total number of matched tracks while combined both.
Would you please help me to solve this problem. It can be mention that i draw the images form csv file using python. So I also want to count the number using python. Thanks in advance for your kind co-operation.