maudzung / SFA3D

Super Fast and Accurate 3D Object Detection based on 3D LiDAR Point Clouds (The PyTorch implementation)
https://github.com/maudzung/Super-Fast-Accurate-3D-Object-Detection
MIT License
1k stars 271 forks source link

Update the ROS Nodes for newer versions of OpenCV #61

Closed TheGodOfWar007 closed 2 years ago

TheGodOfWar007 commented 2 years ago

Outdated enum variables are causing build failures with newer versions of OpenCV, especially the CV_AA and CV_FILLED markers in the visualize_rects.h header file from the detected_objects_visualizer package. Consider replacing them by the newer versions cv::LINE_AA and cv::FILLED. Please make the requisite changes in the other files as well. I will post if I come across similar bugs, but so far, the package was built successfully after replacing the above markers in the mentioned header file.

Note: I am using ROS Noetic with source built OpenCV 4.x.

maudzung commented 2 years ago

For ROS implementation, please contact @AhmedARadwan to get instructions. Many thanks