Skip to content

Commit

Permalink
fix color bug with highgui
Browse files Browse the repository at this point in the history
It'd be nice to have a test to catch this 🤔
  • Loading branch information
sz3 committed Mar 3, 2021
1 parent c15ac29 commit 6933d3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/gui/shaky_cam.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class shaky_cam
}

img.copyTo(_frame(cv::Rect(offsetX, offsetY, img.cols, img.rows)));
cv::cvtColor(_frame, _frame, cv::COLOR_BGR2RGB);
return _frame;
}

Expand Down

0 comments on commit 6933d3e

Please sign in to comment.