IMX219-77 camera not compatible with OpenCV on Jetson Nano

Hi,
Please check if you can run this gst-launch-1.0 command:

$ gst-launch-1.0 nvarguscamerasrc ! nvoverlaysink

If it works fine, please try this sample:
OpenCV Video Capture with GStreamer doesn't work on ROS-melodic - #3 by DaneLLL