Yes, I think OpenCV is best suited for this task. How about you try using OpenCV to detect the curve, then convert pixel coordinates to actual values. So the key is using cv2.findContours()
to detect the curve, then manually calibrating pixel coordinates to actual graph values using np.interp()
.