NanoDet-ncnn-Raspberry-Pi-4 icon indicating copy to clipboard operation
NanoDet-ncnn-Raspberry-Pi-4 copied to clipboard

Segmentation Fault on cv::rectangle and putText

Open dpetersonVT23 opened this issue 3 years ago • 0 comments

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 ()

dpetersonVT23 avatar Aug 04 '22 23:08 dpetersonVT23