Skip to content

Commit

Permalink
updated error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Fixstars-momoko committed Jan 6, 2023
1 parent 2598863 commit 1ba3a25
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions example/u3v_camera2_opencv/u3v_camera2_opencv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,12 @@ int main(int argc, char *argv[])
try {
b.run(pm);
}catch(std::exception& e){
// e.what() shows the error message if pipeline build was failed.
// e.what() shows the error message if pipeline build/run was failed.
std::cerr << "Failed to build pipeline" << std::endl;
std::cerr << e.what() << std::endl;
exit(1);
}


// Convert the retrieved buffer object to OpenCV buffer format.
// C and D are objects that store the result after smoothing.
cv::Mat A(height, width, CV_16UC1);
Expand Down

0 comments on commit 1ba3a25

Please sign in to comment.