Closed iwander-all closed 1 year ago
hi, 一个小建议哦,题目中这个函数里面的cv_bridge::toCvShare最好改成cv_bridge::toCvCopy,如果照片尺寸很大的话,前者可能会出问题的。
测试过130w和500w像素图片,目前没有看到类似的问题。
right!I used 1920x1080 size of img,and got some weird wrong which lead to the program crash,and I changed it from cvshare to cvcopy,everything goes ok!
hi, 一个小建议哦,题目中这个函数里面的cv_bridge::toCvShare最好改成cv_bridge::toCvCopy,如果照片尺寸很大的话,前者可能会出问题的。