### Describe the feature and motivation Originally, sample https://github.com/opencv/opencv/blob/4.x/samples/dnn/optical_flow.py created for FlowNet v2. [Recently](https://github.com/opencv/opencv/pull/24092), @Aser-Abdelfatah and @fengyuentau enabled support of [RAFT](https://github.com/princeton-vl/RAFT) model. Sample should work with both models. ### Additional context _No response_