Category: Raspberry Pi

  • Install Ubuntu Server on Raspberry Pi

    In this blog post, we will be installing Ubuntu 20.04 LTS Server to the Raspberry Pi. This operating system offers a wide range of use cases, and we will be taking advantage of it in future posts. 1. Download the Ubuntu Server 20.04 LTS Go to the Raspberry Pi section of the Ubuntu downloads and…

  • Image Classification with Tensorflow Lite on Raspberry Pi

    In this post, we are going to use tflite_runtime to run one of the official examples from Tensorflow. I am using a Raspberry Pi 4 Model B 4 GB RAM model with a Pi Camera v1.3 attached. Classifications and performance are quite acceptable when the objects are close and lighted sufficiently. 1. Clone the Tensorflow…

  • Real-Time Video Streaming with Raspberry Pi

    Streaming live video with Raspberry Pi over the local network can come in handy in different cases. You can use your Raspberry Pi as a security camera, and IP video source for your computational heavy processes that run on a local server, or maybe on a remote-controlled robot. This post aims to make you able…

  • Managing Python Virtual Environments

    Python environments can get complex and problematic without virtual environments. We can use venv module that comes built-in with Python to manage it, but it may get complex too after a while. For these needs specifically, virtualenvwrapper has been developed. 1. Install virtualenvwrapper Install virtualenvwrapper with pip 2. Find The virtualenvwrapper.sh Virtualenvwrapper uses a sh…

  • Increasing Swap Size of Raspberry Pi

    1. First things first, what is SWAP? According to the Read Hat Documentation on Massachusetts Institute of Technology website: “Swap space in Linux is used when the amount of physical memory (RAM) is full. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap…

  • Time-Lapse with Raspberry Pi

    Taking time-lapse videos with Raspberry Pi is not a new idea but it is a great opportunity to get to know your Raspberry Pi better as a beginner. Before following the instructions below, be sure that you have completed the Raspberry Pi OS installation and Python OpenCV installation steps. If everything is ready, let’s get…

  • OpenCV Python Installation for Raspberry Pi

    Installing OpenCV on Raspberry Pi has been a challenge a couple of years back from now, but it changed. Now we are able to install pre-compiled OpenCV Python binaries for Raspberry Pi with the pip package manager. This means we don’t actually need to compile it from the source code. If you are just getting…

  • Fix – perl: warning: Setting locale failed.

    When you set up your Raspberry Pi, if everything about the locale settings is not going well you will be seeing an annoying warning for almost every command you run. The warning looks like this: Here is a quick and easy fix for this issue. After running this command, the Raspberry Pi OS will start…