ipa320 / ipa_coverage_planning

Algorithms for floor plan segmentation and systematic coverage driving patterns
269 stars 106 forks source link

What version of OpenCV is used in room_segmentation_algorithm? #13

Closed sxy370921 closed 3 years ago

sxy370921 commented 3 years ago

I have some problems executing room_segmentation_algorithm. The problems are described in https://github.com/ipa320/ipa_coverage_planning/issues/12#issue-1036255549. Is it related to the OpenCV version? In my running environment, the value of CV_MAJOR_VERSION is 3. Can this version of OpenCV run the algorithm successfully? I found that the problem code is "roomboost->predict(features_mat, cv::Mat(), cv::ml::Boost::RAW_OUTPUT);". When the code is executed, the program crashes.