Lua script OpticalFlow

Hi,
As far as I understand, in 4.5.7 there is no possibility to work in lua with of.flowX and of.flowY. Is there such a possibility in 4.6 or 4.7?