#RaspberryPi โ€“ 1st setup no monitor ๐Ÿ“บ: Wifi ๐Ÿ“ถ auto connect, SSH, rename, update, docker ๐Ÿณ, rust and more! Update 2023-Jan-04

Content Create SD card using Raspberry Pi Imager Configure Wireless connection (if needed) Enable SSH (if needed) Find the IP address in your network Access via SSH Change Password (if needed) Rename the device (if needed) Expand FileSystem Update the device Install Docker Setup SSH password-less access to the Raspberry Pi Setup password-less access to…… Continue reading #RaspberryPi โ€“ 1st setup no monitor ๐Ÿ“บ: Wifi ๐Ÿ“ถ auto connect, SSH, rename, update, docker ๐Ÿณ, rust and more! Update 2023-Jan-04

#Fix – Azure CustomVision Exported to Docker – ImportError: cannot import name ‘soft_unicode’ from ‘markupsafe’

Hi ! In the past days I found a weird error when I export a model created with CustomVision.ai to docker. The docker image build ok, however, I found this error when I try to run the container. โฏ docker run -p 8090:8090 squirrelscv Traceback (most recent call last): File “app.py”, line 7, in <module>…… Continue reading #Fix – Azure CustomVision Exported to Docker – ImportError: cannot import name ‘soft_unicode’ from ‘markupsafe’

#Docker ๐Ÿณ – Add an external repository to the Source List, and add the key from the external server ๐Ÿคทโ€โ™‚๏ธ

Hi ! Ok, here goes nothing. And this is mostly so I can avoid to learn again how to do this in the future. I needed to install a package in my docker Linux file, and I realized that I needed to add a specific source to the debian source list before. After this, I…… Continue reading #Docker ๐Ÿณ – Add an external repository to the Source List, and add the key from the external server ๐Ÿคทโ€โ™‚๏ธ

#Docker ๐Ÿณ – After curl, now it’s time to install git, clone a repo and run some stuff ๐Ÿคทโ€โ™‚๏ธ

Hi ! Ok, here goes nothing. If you ever, and I mean, EVER NEED GIT in a docker container. This may help. This lines are a sample on # custom installation for RPI Grove dependencies RUN apt-get update RUN apt-get install -y gcc RUN apt-get install -y curl RUN apt-get install -y git # download…… Continue reading #Docker ๐Ÿณ – After curl, now it’s time to install git, clone a repo and run some stuff ๐Ÿคทโ€โ™‚๏ธ

#Docker ๐Ÿณ – Install and run curl commands

Hi ! Maybe if I write this down, I won’t forget the next time. If I / you need to run curl commands in a docker definition, you only need to have this lines as an example. # custom installation for RPI Grove dependencies defined in requirements.txt RUN apt-get update RUN apt-get install -y gcc…… Continue reading #Docker ๐Ÿณ – Install and run curl commands

#AzureIoT – How to create an Azure IoT module from an Azure #CustomVision project ๐Ÿ‘€. Complete series

Hi ! I finished the series of posts on how to create a Custom Vision project and adapt the project to run as an Azure IoT Module. Here are the series of posts in tutorial mode: Create and export a Custom Vision Project as Docker imageAnalyze the content of the CV Docker imageCreate and analyze…… Continue reading #AzureIoT – How to create an Azure IoT module from an Azure #CustomVision project ๐Ÿ‘€. Complete series

#AzureIoT – How to create an Azure IoT module from an Azure #CustomVision project ๐Ÿ‘€ 6/N

Hi ! Today’s post will be mostly focused on code. And on the main tasks Add a configuration property to the module to enable / disable the telemetry messagesEach time the Azure IoT Module process an image, it will trigger a telemetry with the information of the detected image The sample running show how for…… Continue reading #AzureIoT – How to create an Azure IoT module from an Azure #CustomVision project ๐Ÿ‘€ 6/N

#AzureIoT – How to create an Azure IoT module from an Azure #CustomVision project ๐Ÿ‘€ 5/N

Hi ! Today’s post will be mostly focused on code. And on the main tasks I build my docker image using my Raspberry Pi, I explained this in this post [Build docker ๐Ÿณ images from Visual Studio Code remotely using a Raspberry Pi]I updated my module to use the port 8089. This update is on…… Continue reading #AzureIoT – How to create an Azure IoT module from an Azure #CustomVision project ๐Ÿ‘€ 5/N

#AzureIoT – How to create an Azure IoT module from an Azure #CustomVision project ๐Ÿ‘€ 4/N

Hi ! Today’s post will be mostly focused on code. And on the main tasks Merge and create a new docker definition file.Merge Azure IoT project files with the exported Azure Custom Vision projectUpdate the main Python app to run as Azure IoT Module and also perform Computer Vision analysis. Azure IoT Module Docker Let’s…… Continue reading #AzureIoT – How to create an Azure IoT module from an Azure #CustomVision project ๐Ÿ‘€ 4/N

#AzureIoT – How to create an Azure IoT module from an Azure #CustomVision project ๐Ÿ‘€ 3/N

Hi ! In my previous post I wrote about how to create an Azure Custom Vision project. And, once created how to export the project as a Docker image to be used in different platforms. I also analyzed the content of the exported Linux image. Today Iยดll perform a similar analysis with an empty Azure…… Continue reading #AzureIoT – How to create an Azure IoT module from an Azure #CustomVision project ๐Ÿ‘€ 3/N