Skip to content

Commit

Permalink
cvt.
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed Oct 12, 2023
1 parent d9c1e8d commit 88575f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/image_inference_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@ void image_inference_impl::create_image_() {
if (flip_ == -1 || flip_ == 0 || flip_ == 1) {
cv::flip(*output_item.buffer, *output_item.buffer, flip_);
}
cv::cvtColor(*output_item.buffer, *output_item.buffer, cv::COLOR_RGB2BGR);
output_q_.insert(output_q_.begin(), output_item);
}
points_buffer_->resize(0);
Expand Down

0 comments on commit 88575f4

Please sign in to comment.