Finding overlap of two objects in an image using OpenCV
I have this image and would like to find the intersection points of the two objects ( blue vector and red vector ). Unfortunately, the find_intersection method between the vectors from the c++ standard library returns a size 0 because ofcourse there in no overlap of the edges where the two objects meet.
So, is there an elegant way to find the intersecting part of the blue and the red part using OpenCV? Maybe using findContours or CannyEdge or any convolving filter? I am not sure, how I should proceed.
WHY is there a border between the regions ?
(there is no real overlap here)