mirror of
https://github.com/lostjared/Acid.Cam.v2.Qt.git
synced 2025-12-18 04:39:59 +01:00
enabled chroma key stuff in program
This commit is contained in:
@@ -181,7 +181,7 @@ void Playback::drawEffects(cv::Mat &frame) {
|
|||||||
if(saturation_ > 0) {
|
if(saturation_ > 0) {
|
||||||
ac::setSaturation(frame, saturation_);
|
ac::setSaturation(frame, saturation_);
|
||||||
}
|
}
|
||||||
if(colorkey_set == true && !color_image.empty()) {
|
if(colorkey_filter == true || (colorkey_replace == true && !color_replace_image.empty())) {
|
||||||
cv::Mat cframe = frame.clone();
|
cv::Mat cframe = frame.clone();
|
||||||
cv::Vec3b well_color(255,0,255);
|
cv::Vec3b well_color(255,0,255);
|
||||||
ac::filterColorKeyed(well_color, ac::orig_frame, cframe, frame);
|
ac::filterColorKeyed(well_color, ac::orig_frame, cframe, frame);
|
||||||
|
|||||||
Reference in New Issue
Block a user