I need the current and previous frame for some calculations in opencv c++.
Here is my code so far:
vector frames; // Current fr