Merge pull request #26902 from Kababey:patch-3

Update optical_flow.cpp
This commit is contained in:
Alexander Smorkalov 2025-02-14 15:22:04 +03:00 committed by GitHub
commit a8df0a06ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,7 +46,7 @@ int main(int argc, char **argv)
int r = rng.uniform(0, 256);
int g = rng.uniform(0, 256);
int b = rng.uniform(0, 256);
colors.push_back(Scalar(r,g,b));
colors.emplace_back(r,g,b);
}
Mat old_frame, old_gray;