Tag Archives: openCV

Jetson Xavier NX Lesson 10: Tracking Multiple Objects of Interest with Servos in OpenCV


In this lesson we learn how to use OpenCV on the Jetson Xavier NX to track an object of interest in with two cameras on two Pan/Tilt servo brackets. The system tracks based on HSV color space, but the same basic setup could be used with other object detection algorithms. In this project we are using the Jetson Xavier NX, which you can pick up HERE. You will also need to of the bracket/servo kits, which you can get HERE, and then two Raspberry Pi Version two cameras, available HERE.

 

AI on the Jetson Nano LESSON 51: Improving NVIDIA Jetson Inference Library for RPi Camera


 

Here are the lines of code I used in the video to fix the gstreamer command. You can copy them below. copy all the code, including the trailing colon

 

 

Jetson Xavier NX Lesson 9: Tracking Objects with Two Cameras in OpenCV

In this lesson we use OpenCV to track an object of interest based on HSV color value. We are running two cameras in parallel, and track the same object in both cameras.  The code below is provided for your convenience, and is the code developed in the video lesson. If you want to play along at home, you can get your NVIDIA Jetson Xavier NX  HERE

In this lesson, we are running two raspberry pi cameras. I like the following ones and have verified that they work on the Xavier NX. You can pick your cameras up HERE.

 

 

Jetson Xavier NX Lesson 5: Improving Raspberry Pi Camera Image Quality in Gstreamer

In this video we show you the keys to radically improving the image quality from the Raspberry Pi Camera. We show how to set Gstreamer caps and props in OpenCV to get stunning image ‘pop’ from this inexpensive camera. If you follow this lesson you will be able to get better image quality from your Raspberry Pi cameras.

The code below has the improved camSet string we developed in this lesson. I have noticed that there can be variation between different Raspberry Pi cameras. Hence, you can adjust the parameters to get the best quality image from your particular camera. Also, results will depend on lighting conditions. You can adjust the wbmode to match your lighting situation, and you can tweak the contrast, brightness and saturation to dial in the perfect picture quality.

 

Jetson Xavier NX Lesson 4: Understanding and Using Gstreamer for Absolute Beginners

In this lesson we show you how to understand the great mystery known as Gstreamer.  Most folks using the NVIDIA Jetson Nano or the NVIDIA Jetson Exavier NX just copy and past the launch string they found on the internet, but do not have a clue how Gstreamer actually works. In this video we will take you through it step-by-step, and show you how to actually understand what you are doing, and how to design your own pipes for maximum performance and image quality. Below are all the commands we used in the video lesson