labelme
labelme copied to clipboard
3D view, the dimension 2 load file failed
Hi there! Thanks for your gorgeous project.
I run this project with
Opencv 4.5.4 & MSVC 2017
after change the view 3D, i open the examples imgs, but the program crashed, the log info is
OpenCV(4.5.4) Error: Assertion failed ((unsigned)i0 < (unsigned)size.p[0]) in cv::Mat::at
the crash happened at
void My::Parse::parseImage(int dimension,QListcv::Mat& list,QListMy::Shape3D*& shapes,QList<Label3D*>& labels){
line 407
if(dimension==2){
cv::Mat mat3=cv::Mat(list.length(),list[0].rows,CV_8UC1);
for(int i=0;i<mat3.rows;i++){
for(int j=0;j<mat3.cols;j++){
mat3.at