Selvam Subbiah

Mastering MongoDB Queries with OpenAI: A Guide to Generating Queries for Desired Outputs

I’m a big fan of mongoplayground.net as it is one of the most useful and widely used tools for swiftly testing various MongoDB queries while working on a problem. Although this tool is really handy and convenient to use, I have always wondered if there is a way to automatically generate the query for a

Mastering MongoDB Queries with OpenAI: A Guide to Generating Queries for Desired Outputs Read More »

How to use Cognito User Pool with custom OAuth scopes as authorizer for REST API

In this blog post, we will look at how to configure OAuth authentication for a REST API using AWS Cognito user Pool. We will create a REST API using AWS Lambda and API Gateway, integrate it with Cognito User Pool and create custom OAuth scopes to authenticate and authorize the REST API endpoints. Overview At

How to use Cognito User Pool with custom OAuth scopes as authorizer for REST API Read More »

How to package and deploy a python lambda function using AWS CLI

In this article, we will take a look at the steps required to package a python lambda function and deploy it using AWS CLI. Code the lambda function For this example, let’s create a new directory named “hello-world-lambda” and create a file named “lambda_function.py” inside it. Copy and paste the below code into the “lambda_function.py”

How to package and deploy a python lambda function using AWS CLI Read More »

How to set up a python virtual environment in Visual Studio Code for Windows

In this article we will look at the steps involved in setting up Visual Studio Code for Python including creating and working with a virtual environment in Windows. Pre-Requisite Basic Setup There are a few ways to run the program, like below: Virtual Environment Setup To install and use python packages in a project, it

How to set up a python virtual environment in Visual Studio Code for Windows Read More »

TensorFlow.js – Remove or restore segments of an image in the browser using DeepLab model

This article is a continuation of the previous article on Semantic Image Segmentation in the browser using TensorFlow.js pre-trained DeepLab model. Here, we will use the DeepLab model’s output to manipulate specific parts of the image based on user selection. Essentially, we will allow the user to remove or restore a specific segment of an

TensorFlow.js – Remove or restore segments of an image in the browser using DeepLab model Read More »

TensorFlow.js – Semantic Image Segmentation in browser using DeepLab model

In Computer Vision, one of the main challenges is to understand an image at a higher level like the way we humans do, i.e., to identify the objects, their location and their surroundings to make sense of the scene captured in the image. Semantic Image Segmentation is the process of identifying the objects present in

TensorFlow.js – Semantic Image Segmentation in browser using DeepLab model Read More »

Face Landmarks Detection using MediaPipe Face Mesh in TensorFlow.js – Part 3

This article is the continuation of the previous article on MediaPipe Face Mesh model in TensorFlow.js, where we looked at creating the triangle mesh of the face using the model’s output. Here, we will look at detecting and tracking iris within the eyes using the MediaPipe Iris model. 1. Iris Detection MediaPipe Iris model accurately

Face Landmarks Detection using MediaPipe Face Mesh in TensorFlow.js – Part 3 Read More »