I have the project compiling fine, but when it runs into a line with putText or cv::rectangle, such as in draw_objects, I get a segmentation fault core dumped error. I have OpenCV 4.5.5, do I need a different version in order for these c++ functions to work correctly?
#0 0x00007ffff7a976e0 in cv::putText(cv::_InputOutputArray const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, cv::Point, int, double, cv::Scalar, int, int, bool) ()
at /lib/x86_64-linux-gnu/libopencv_imgproc.so.4.5d
#1 0x000055555559c82f in main ()