Skip to content

Commit

Permalink
use linear interpolation instead of NN, much better quality
Browse files Browse the repository at this point in the history
  • Loading branch information
floe authored Apr 1, 2022
1 parent e492ed4 commit e5c1137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ void Camera::send_buffer() {

Mat* output = new Mat(th,tw,input.type());

warpPerspective(input,*output,pm,output->size(),INTER_NEAREST);
warpPerspective(input,*output,pm,output->size(),INTER_LINEAR);

if (do_blank) output->setTo(Scalar(0,255,0));

Expand Down

0 comments on commit e5c1137

Please sign in to comment.