Newbie question: how to install OpenCV and setup the path?

Great, thanks for the info, I’ll add the “tee” code to JK’s Python to make multi-pipeline and test it out.

@tmx3, for the screenshot on my blog post, I used a Logitech C920 wecam which came with a very good lens and with automatic-focus capability. I think you could probably try using a better-quality camera for your development and testing.

By the way, I rarely use the Jetson onboard camera since its lens position is limited.

@JK, I see. Look like the on-board camera needs more ISP touch up. Thanks for the information.

@Honey_Patouceul, you code generates two windows, cool!
Now, what if I want to feed another camera to the second window?
I know how to run two cameras separately in two terminals, such as

gst-launch-1.0 nvcamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1, format=NV12' ! nvvidconv flip-method=2 ! nvegltransform ! nveglglessink -e
gst-launch-1.0 nvcamerasrc sensor-id=1 ! 'video/x-raw(memory:NVMM), width=1920, height=1080, framerate=30/1, format=NV12' ! nvvidconv flip-method=2 ! nvegltransform ! nveglglessink -e

How do I “tee” the commands together? And can they be sync?

Perhaps I should open a new thread for the “tee” function.