# OpticalFlow workflow?

**URL:** <https://forums.openmv.io/t/opticalflow-workflow/7800>\
**Category:** OpenMV Boards\
**Created:** [December 16, 2022, 2:48am UTC](https://forums.openmv.io/t/opticalflow-workflow/7800 "2022-12-16T02:48:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lukita](https://avatars.discourse-cdn.com/v4/letter/l/ba9def/32.png) [@Lukita](https://forums.openmv.io/u/Lukita)\
**Post date:** [December 16, 2022, 2:48am UTC](https://forums.openmv.io/t/opticalflow-workflow/7800/1 "2022-12-16T02:48:29Z")

</div>

Hi,  
I’m new to OpenMV and currently testing optical flow on the H7.  
I have a question: Does it work based on the opencv or it is a your own code of the optical flow, if so, where can I read the source code of how things work, cause I can’t find functions such as “find\_displacement” anywhere on the Github page.  
Thank you

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [December 16, 2022, 9:38pm UTC](https://forums.openmv.io/t/opticalflow-workflow/7800/2 "2022-12-16T21:38:41Z")

</div>

> <https://github.com/openmv/openmv/blob/master/src/omv/imlib/phasecorrelation.c#L246>

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [March 3, 2023, 7:43pm UTC](https://forums.openmv.io/t/opticalflow-workflow/7800/4 "2023-03-03T19:43:59Z")

</div>

Hi, you need to understand that code yourself. If you are new to C then you are diving into the deep end here.

(Also, I haven’t touched that method in years so I don’t know anymore. Don’t have time to look right now).
