Commit 63c3361b16f8d6e3eb82bcdb99165674ec02bd62
1 parent
6a218883
Propagate interest pts thru OF
Showing
1 changed file
with
2 additions
and
0 deletions
openbr/plugins/opticalflow.cpp
| ... | ... | @@ -38,6 +38,8 @@ class OpticalFlowTransform : public UntrainableTransform |
| 38 | 38 | Mat flow; |
| 39 | 39 | calcOpticalFlowFarneback(prevImg, nextImg, flow, pyr_scale, levels, winsize, iterations, poly_n, poly_sigma, flags); |
| 40 | 40 | dst += flow; |
| 41 | + // propagate interest points thru | |
| 42 | + dst.file = src.file; | |
| 41 | 43 | } |
| 42 | 44 | }; |
| 43 | 45 | ... | ... |