Tag Archives: Artificial intelligence

Faster Launch of WEBcam and Smoother Video in OpenCV on Windows


This is the code we developed in Video Lesson #6 showing how to launch a webcam quicker and with less delay in OpenCV running on windows. The video above explains the code step by step, but for your convenience, I include the code below.

 

Launch a Windows WEB Camera in Ten Lines of Code with OpenCV

In this lesson we show you step-by-step how to launch a WEB camera using OpenCV running on windows. In the video we show how to install OpenCV and how to write your first simple programs. Below is the code we developed in the video to launch the WEB cam.

 

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 14: Face Recognition and Identification on NVIDIA Xavier NX

In this video lesson we show you how to train the NVIDIA Jetson Xavier NX to recognize faces, and then demonstrate finding those faces in a new unknown image.  We show step by step instruction in this easy to follow tutorial. We develop two python programs. The first one simply finds the faces in an unknown image, and the second program actually identifies the known faces. For your convenience, the code is included below.

Simple face detection Python code:

This next python program will learn faces, and then recognize them in new images.