Skip to content

Commit

Permalink
added missing filter to list
Browse files Browse the repository at this point in the history
  • Loading branch information
lostjared committed Mar 5, 2019
1 parent 754ff12 commit 6425b41
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Binary file not shown.
3 changes: 2 additions & 1 deletion Acid.Cam.v2.OSX/ac-box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ void ac::Box::drawBox(cv::Mat &frame) {
target = pixel;
}
}
ac::draw_func[frame_index](temp);
//ac::draw_func[frame_index](temp);
CallFilter(frame_index, temp);
for(int z = y, pos_y = 0; z < y+h && z < frame_height; ++z, ++pos_y) {
for(int i = x, pos_x = 0; i < x+w && i < frame_width; ++i, ++pos_x) {
if(i < frame.cols && z < frame.rows) {
Expand Down
2 changes: 1 addition & 1 deletion Acid.Cam.v2.OSX/ac-filter1.cpp

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Acid.Cam.v2.OSX/ac.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@
*
* ac::SelfAlphaBlend(mat);
*
* or use draw_func
* or use CallFilter
*
* ac::draw_func[function_index](mat);
* CallFilter(function_index, mat);
*
* then just use function_index to point to whatever filter
*
Expand Down

0 comments on commit 6425b41

Please sign in to comment.