Skip to content

Commit

Permalink
flips both
Browse files Browse the repository at this point in the history
  • Loading branch information
lostjared committed Jan 21, 2019
1 parent 8bd302c commit 7ccd9d6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Binary file not shown.
5 changes: 3 additions & 2 deletions Acid.Cam.v2.OSX/ac-filter14.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,8 @@ void ac::MirrorBlendVertical(cv::Mat &frame) {
}

void ac::MirrorVerticalAndHorizontal(cv::Mat &frame) {
cv::Mat copy1 = frame.clone(), copy2;
cv::flip(copy1, copy2, -1);
cv::Mat copy1 = frame.clone(), copy2 = frame.clone();
MirrorBlendFrame(copy1);
MirrorBlendVertical(copy2);
AlphaBlend(copy1, copy2, frame, 0.5);
}

0 comments on commit 7ccd9d6

Please sign in to comment.