Category Archives: NVIDIA Jetson Xavier NX

Jetson Xavier NX Lesson 15: Training the Face Recognition Program to Recognize People

In this video lesson we should you a simple method to train our face recognizer on larger data sets. We use the python os.walk command to step through, and train automatically on all the training images in our folder. We then show how to store our training set to our SD card using the pickle utility. This allows us to train once, and use the trained model over and over.

For your convenience, the code below is what we developed to allow training our face recognition model.

Then this is a simple program that loads the trained model, and uses it to recognize people in unknown images.

 

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

Jetson Xavier NX Lesson 3: Using a WEB cam or Raspberry Pi camera in OpenCV with Gstreamer

In this video lesson we learn how to launch the Raspberry Pi Camera or a simple WEB cam on the Jetson Xavier NX using openCV and a Gstreamer command. This simple code shows you how to set up the camera, and then how to grab a frame and show a frame to create live video from the cameras.