One of the important and fundamental topics in deep learning technology!!!

Image for post
Image for post

Before moving to tensor let us see what Deep Learning is?

Deep learning is a subset of machine learning. It is a field that is based on learning and improving on its own by examining computer algorithms. While machine learning uses simpler concepts, deep learning works with artificial neural networks, which are designed to imitate how humans think and learn. We all know TensorFlow and PyTorch libraries are deep learning frameworks.

What is a tensor in a deep learning framework?

Tensors are the data structure used by machine learning systems, and getting to know them is an essential…

How to read RTSP/Video frames and upload them into cloud storage in an asynchronous way

Image for post
Image for post
Photo by Paweł Czerwiński on Unsplash


In this modern world, I presume that most of us are conversant with new loads of industries that use computer vision applications. In particular, a CCTV surveillance camera and video analysis, which are contributing towards a major role in computer vision technology.

For instance, when we analyze a CCTV camera, as a first step, we should read RTSP URL using OpenCV, then we should store it somewhere in the cloud to analyze it further.

But the problem is, when we upload the frames one after the other into the cloud, it will take some time to upload, won’t it?


I have implemented an auto face unlock technique using OpenCV and face recognition library.

Image for post
Image for post
Ubuntu Face

Before playing with the code, let us see the libraries that need to be installed on your Ubuntu machine.


  1. python 3.7
  2. OpenCV 4.1.0
  3. NumPy
  4. face-recognition
  5. sudo apt-get install gnome-screensaver
  6. sudo apt-get install xdotool

Below are the three python files that are just enough to achieve this!!!




Demo video


5 simple steps to auto rotate the image to get the right angle in the human photos using computer vision

Image for post
Image for post

The above image showed the input (left) and output (right). Let’s see how to auto rotate the image without manual rotation. These days, computer vision has evolved so much all over the world. I just played and implemented a small technique to auto rotate images using computer vision.

Steps to auto rotate the images:

  1. Read the input image.
  2. Detect Face by Caffe model.
  3. If the face is not detected then rotate the image.
  4. Again detect face with rotated images.
  5. Rotate the image with three angles until face detect.

Before going to implement this technique we will see what are…

Roadmap to become a data scientist from a software developer in my experience.

Image for post
Image for post
Image source:-

Why do You want to become a data scientist?

Why? Why? This is a very important question to ask yourself before changing the direction of your career. Answer to that will lead you to your destination. How? Let us assume, you are a software developer having a well-established experience. Why then? Some developers are thinking if they are good at data science, they can make more money being a data scientist than a software developer. And they do have an assumption of getting placed into a new role since many companies are hiring for data scientists. …

Let’s see an easy way to implement a computer vision application using tensorflow.js!!!

Image for post
Image for post
(Image Source)


These days, many people implement computer vision applications. Do you think is it very difficult to learn and implement? my answer is NO because nowadays a lot of libraries available to implement such a powerful computer vision application. Recently have you watched the TensorFlow summit 2020? This year TensorFlow team announced a lot of cool things for us. Here we are going to see how we can implement computer vision applications using tensorflow.js models!!

What is TensorFlow.js?

TensorFlow.js …

Before reading this blog, Please Check out my previous Part I blog because this blog continues from part 1.

Image for post
Image for post

As you see above image, Take a look at the tenant table which is the parent table for all the tables. The tenant table is playing a very important role in the multitenant applications.

Step 1:- Create a tenant Model in file

class TenantModel(models.Model):
tenant = models.ForeignKey(Tenant, on_delete=models.CASCADE)
class Meta:
abstract = True

Step 2:- Now, we have to inherit TenantModel to add tenant_id in child tables. …

Linear Regression is a supervised machine learning algorithm where the predicted output is continuous and has a constant slope. It is used to predict values within the continuous range.

Image for post
Image for post
Learn with laughing

Linear regression is the first step to learn the concept of machine learning. When you start to say that you are going to learn machine learning; Firstly, we will think that we should have a confident base in mathematics and basic equation. Do not worry I will guide you to learn the linear regression algorithm at a very basic step. Let’s start the learning part. Going further, since it is a beginner level we will not dive-in into linear regression mathematical formula.

First, let us see what is the Multi-tenant Application???

Multi-tenancy is an architecture in which a single instance of a software application serves multiple customers. Each customer is called a tenant.

Types of Multi-tenancy Models:-

Image for post
Image for post

1. Instance Replication Model:- The system spins a new instance for every tenant. This is easier to start, but hard to scale. It becomes a nightmare when 100s of tenants signup.

2. Data Segregation Model:- There are two types of approach in a data segregation model. The first approach is a separate Database for each tenant and the second one is a single database for all tenant.

Part 1, Let us see how we…

I will walk through my experience of speech technology. Everybody thinks the speech is just sound. NO, it’s not!! In the software world, speech is our data. HOW??

Image for post
Image for post

Right now, The world is growing fast with a technology called artificial intelligence and machine learning. Speech technology is growing one of a big part in machine learning and Artifical intelligence world. How?? The only thing is the DATA. So, How to get the data?? We can get the data in many ways(Social media, e-commerce ) But here we are getting data from speech!!!

We have a lot of open source repository

Bala Venkatesh

I have a passion for understanding technology at a fundamental level and Sharing ideas and code. * Aspire to Inspire before I expire*

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store