-
#SemanticKernel β πChat Service demo running Llama2 LLM locally in Ubuntu
Hi! Today’s post is a demo on how to interact with a local LLM using Semantic Kernel. In my previous post, I wrote about how to use LM Studio to host a local server. Today we will use ollama in Ubuntu to host the LLM. Ollama Ollama is an open-source language model platform designed for… β read more
-
#SemanticKernel – πChat Service demo running Phi-2 LLM locally with #LMStudio
Hi! It’s time to go back to AI and NET, so today’s post is a small demo on how to run a LLM (large language model, this demo using Phi-2) in local mode, and how to interact with the model using Semantic Kernel. LM Studio I’ve tested several products and libraries to run LLMs locally,… β read more
-
How to control your π drone using #Azure OpenAI or OpenAI APIs and Semantic Kernel
Hi! In my previous post, I wrote about how we can use ChatGPT to generate Python code to control a drone. Today, we are going to use Azure OpenAI Services or OpenAI APIs to generate the same code using GPT models. We are going to use the same prompt that we had for ChatGPT. Running… β read more
-
How to control your π drone using #ChatGPT
Hi! I’ve been doing live demos of how to use Azure OpenAI Services or OpenAI APIs to generate code to control the drone, so I think I may write about it to have it public for future references. So, using the base code to send and read drone information, we can create a simple prompt… β read more
-
My 1st NET #ChatGPT Plugin. Demo Included!
Hi! Plugins are the hottest topics now, for both ChatGPT and Microsoft products like BingChat and Windows Copilot. After learning and testing using Javascript and Python versions, I decided to create one in NET. I even talk several times about it in my podcast (in Spanish). NET Pet Store ChatGPT Plugin Repository And here is… β read more
-
#Code – πBuilding Plugins for ChatGPT, Microsoft Bing and Edge
Hi! This one was in my top three announcements from Build 2023. We can now build Chat Plugins for Microsoft Bing and Edge. Look at this 10 min intro: Video Summary: Creating Plugins Microsoft isΒ adopting the same open plugin standardΒ that OpenAI introduced for ChatGPT, enabling interoperability across ChatGPT and the breadth of Microsoftβs copilot offerings.… β read more
-
#AzureIoT – RTSP Webcam, add rtsp camera π· capabilities to your Edge Device #JulyOT
Hi ! Today, during my [Let’s setup a Raspberry Pi and a reTerminal as an Azure IoT βοΈ device] session, one of the questions was about what cool scenarios we can run once we have a Raspberry Pi as an Azure IoT Edge device. Besides the use of Cognitive Services (only for x64), a cool… β read more
-
#OpenCV – Convert camera feed π¦ to Grayscale and resalt Blue π΅ and Red β€οΈ
Hi ! A new twist on these days demos, this time: Open a camera feed Convert each frame to grayscale Use a hue mask to resalt colors, Blue and Red Here is a live sample from my office. Note: I created a mask that identifies the Captain America shield, SpyderGwen poster and Ahsoka frame, but… β read more
-
#OpenCV – Replace background with video in camera feed π¦ (Black Adam β‘)
Hi ! A new twist on these days demos, based on a request from an online friend. Let’s remove and replace the background from our camera feed using a video. For this demo, I’m using the “Black Adam β Official Trailer 1“. And the output is kind of funny. Hey, funny scenario, and if you… β read more
-
#OpenCV – Background Subtraction in a camera feed π¦ using MOG2
Hi ! Yesterday I wrote a post about how to remove the background from my camera feed. To remove the background, I used a python library “cvzone”. While talking with some friends, someone asked about using some of the out-of-the-box features included in OpenCV, like MOG2 or KNN. So I read a little about them… β read more
-
#OpenCV – Remove the background in your camera feed π¦
Hi ! Yesterday I share 10 lines of code to adddress this very simple scenario: Load and image and remove the background. Today I’ll add a few extra lines, and I’ll remove the background from my camera feed. It’s fun to see how the Captain America shield was included in the cropped polygon π And… β read more
-
#OpenCV – 10 lines to remove the background in an image πΌοΈ
Hi ! Super quick post today, with a very simple scenario: Load and image and remove the background. To do this, I’ll use OpenCV and cvzone. Here we can see a screenshot of my office, and the removed background sample. As usual, the threshold is the important one to manage the quality. And the sample… β read more
-
#Coding4Fun β How to control your #drone β with 20 lines of code! Complete series of posts
Hi ! IΒ΄m back to have some fun with the DJI Tello Drone and Artificial Intelligence, so letΒ΄s share all my posts about programming the drone. And, as usual, an old video with the core parts of this series: β read more
-
#Drone π – Detect Squirrels πΏοΈ and Space Wolves πΊ from a drone camera using Python π
Hi ! In a couple of hours, I’ll host a session where I show how to control a drone using Python π; and also how to access the drone camera and apply AI on top of the camera feed. Python SWFL – Let’s code a drone to follow faces In example, this is the drone… β read more
-
#OpenCV – How to convert to grayscale and show a single color an image πΌοΈ using Python π
Hi ! Super quick post today with a cool scenario to support my TikTok videos in Spanish (I know π): How to convert to grayscale an image and show a single color using python and opencv Here is the output with an original photo from my office and a new image with this effect: Disclaimer:… β read more
-
#OpenCV – How to add a Pencil Sketch effect to an image πΌοΈ using Python π
Hi ! Super quick post today with a cool scenario to support my TikTok videos in Spanish (I know π): How to add a pencil sketch effect to an image using python and opencv Here is the output with an original photo from my office and a new image with the pencil sketch effect: Sample… β read more
-
#OpenCV – How to add a watermark to an image πΌοΈ using Python π
Hi ! Super quick post today with a cool scenario to support my TikTok videos in Spanish (I know π): How to add a watermark text to an image using python and opencv Here is the output with an original photo from my office and a watermarked one: Sample code: β read more
-
#AzureML – Sample π Python app using a WebCam to perform Image Analysis from an image classification AzureML HTTP REST Endpoint
Hi ! In my previous post I wrote How to create a custom dataset with images to be used on a Azure Machine Learning Designer project. How to use the custom data set and how to train an image classification model. How to publish the model to be used as a WebService / HTTP REST… β read more
-
#WioTerminal – Open / Close the #DigitalTwin Door πͺ using Wio Terminal buttons and Azure IoT βοΈ + Azure Functions β‘
Hi ! My current goal is simple: Press Wio Terminal button A will open the Azure IoT Door, press B button will close the door. A demo video is available here: I already wrote about how to use the buttons, however, let’s refresh this. Using Wio Terminal Buttons We need to initialize the buttons, usually… β read more
-
#WioTerminal – Display a countdown progress bar π₯ for the next #AzureIoT βοΈ refresh data call
Hi ! In today’s post I’ll share an scenario about: Display a custom progress bar in the Wio Terminal display. The progress bar is a count down until the next request to the Azure Function interacting with Azure Digital Twin. This is mostly working with strings to create a specific String() that represent the Progress… β read more