Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

Help undestanding ofxCv Flow

$
0
0

@nzfs wrote:

hi,
i’m trying to understand how optical flow works in ofxCv. this might be a very simple question but i cant understand why in almost all the examples i found i see this:

ofxCv::FlowFarneback flow; 
ofxCv::Flow* curFlow;

and then calculate the flow like this:

curFlow = &flow;
curFlow->calcOpticalFlow(camera);

why using the Flow* if you can access the calcOpticalFlow method from the FlowFarneback?

thank you.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles