Using PIL and OpenCV, this guide will show you how to simulate a small full-colour display attached to the Raspberry Pi on a PC. The virtual display will then allow you to create animated or interactive content initially on the PC. Then, with a little code modification, port the Python code to the Raspberry Pi. I also include example test code with this guide. Continue reading “Simulate Animated OLED/LCD Display On PC With PIL and OpenCV”
Tag: OpenCV
Python and OpenCV Setup on Windows 10 with Geany Text Editor
Ideally, to save the Raspberry Pi SD Card, we can debug the bulk of the Python code on our much faster laptop or PC instead. Therefore I go through the install process of the Python programming language, and I also include installing OpenCV. Additionally, I recommend the Geany text editor which I recently discovered. Continue reading “Python and OpenCV Setup on Windows 10 with Geany Text Editor”
Pi Camera Video Capture with OpenCV and Python Multithreading
In this article, I install the Raspberry Pi Camera which I will be using to add camera vision to a robot. Also, to maximise the performance of OpenCV and Camera, I will be using a utility to add multithreading to the Python applications. Furthermore, I include Python demo code which also supports USB webcams. Continue reading “Pi Camera Video Capture with OpenCV and Python Multithreading”
Object Detection and Tracking with OpenCV and Python
In this feature, I look at what it takes to setup object detection and tracking using OpenCV and Python code. Using the code snippets included, you can easily setup a Raspberry Pi and webcam to make a portable image sensor for object detection. Continue reading “Object Detection and Tracking with OpenCV and Python”
OpenCV Color Detection and Filtering with Python
OpenCV color detection and filtering is an excellent place to start OpenCV Python development. In this article, I introduce a basic Python program to get started with OpenCV. The program will allow the user to experiment with colour filtering and detection routines. This article marks the beginning of my efforts to create an object detection robot. Continue reading “OpenCV Color Detection and Filtering with Python”
Install OpenCV onto Raspberry Pi from Shell Script
This article is a quick guide on how to install OpenCV onto the Raspberry Pi – the easy way. I will introduce a shell script that will install OpenCV and dependencies without user intervention. Furthermore, I will also introduce GNU Screen so that the OpenCV installation can be done remotely in a Virtual Terminal Session. Continue reading “Install OpenCV onto Raspberry Pi from Shell Script”