ros-perception / vision_opencv

Apache License 2.0
536 stars 599 forks source link

Changed to make provision for using OpenCV 4 #507

Open Shobuj-Paul opened 1 year ago

Shobuj-Paul commented 1 year ago

The compiler will check for OpenCV 4 in the system before defaulting to OpenCV 3. Have also made a few changes in module_opencv2.cpp to cv::Mat.refcount object, since it was removed in OpenCV 3. Passed a separate integer pointer to manage refcount.

Solves #508