Tag Archives: openCV

Controlling a WEBcam in OpenCV on Windows

In this lesson we show how to move a frame in OpenCV, how to convert a color image to grayscale, and then how to display multiple video windows. For your convenience, I include the code below that we develop in this video.

 

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.

 

AI on the Jetson Nano LESSON 62: Create a Streaming IP Camera from a Raspberry Pi Zero W

In this lesson we learn to make a streaming IP camera with a Raspberry Pi Zero W, and Raspberry Pi camera. The Pi will create a RTP stream, which can then be read by a Jetson Nano on the same network. We use OpenCV to read the frames on the NVIDIA Jetson Nano side.

This is the command to launch the Raspberry Pi camera, and start the RTP stream. This command works well for the Raspberry Pi Camera, version 1.

For the Version 2 Camera, I recommend:

This is the Gstreamer code on the Jetson Nano side to grab the RTP Frames. On host= below, be sure to use the IP address of your Raspberry Pi.

 

 

AI on the Jetson Nano LESSON 61: Image Recognition and Speech (TTS) on the Nano

In this video lesson we learn how to add speech to our NVIDIA Jetson Nano we demonstrate how the Jetson can not only recognize an item, but can audibly speak the item it sees. The video takes you through the process step-by-step, and shows you how to make it all work together properly. For your convenience, the code we developed is included below.

 

Jetson Xavier NX Lesson 12: Intelligent Scanning for Objects of Interest

In this Video Tutorial we show how a camera on a pan/tilt control system can be programmed to search for an object of interest, and then track it when found.  Our system has two independent camera systems, and each can track a separate item of interest independently. The code is written in python, using the OpenCV library. The video takes you through the lesson step-by-step, and then the code is included below for your convenience.

If you want to play along at home, 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.