Skip to content

Segmentation Fault on cv::rectangle and putText #1

@dpetersonVT23

Description

@dpetersonVT23

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions