ROS + OpenCV 4.5.2 Color correction model SIGSEGV

Hey,

I’m trying to get this example to work inside a ROS node, but when I get to the line model1.run(); the process dies.
If I set up the color correction in a separate project, it works fine. Any idea what might cause this?