Posts by Muskan Bani

Author Biographical Info: Muskan Bani

OpenCV INTER_AREA with its example

By Muskan Bani

Python’s OpenCV module offers a lot of flexibility. For scaling an image, OpenCV offers a range of interpolations. We are here to examine INTER_AREA, which provides pixel are.... Read More

Print NumPy array without commas in Python

By Muskan Bani

This post will print an array without any commas in Python. We will be tackling this problem with the help of loops. To be more specific we are going to use For loop. For loop iter.... Read More

Find n largest values of a NumPy array in Python

By Muskan Bani

In this post, you will learn how to find the n-largest values of a NumPy array in Python. Now, what should be the first step to get the number? We want our data or array to be sort.... Read More

NumPy ndarray.tobytes() function in Python

By Muskan Bani

This post explains the ndarray.tobytes() function in Python. We will also go through an example and see the process in work. The numpy.ndarray.tobytes() method creates Python chara.... Read More

How to update a plot in Matplotlib

By Muskan Bani

In this post, we will see how we update a plot in Matplotlib. In matplotlib, updating a plot means erasing all the previous data and entering new data. This process goes in a loop.... Read More

Color spaces in OpenCV in Python

By Muskan Bani

In this post, we are going to cover an important topic of image processing that is, Color spaces in OpenCV in Python. The color space of a picture gives us a specific hue that repr.... Read More

Print the full NumPy array without truncation in Python

By Muskan Bani

In this article, we will see how we can print a full NumPy array without truncation in Python. Truncation means making something shorter. The Python interpreter automatically trunc.... Read More

Iterate over the words of a string in Python

By Muskan Bani

In this post, we will iterate over the words of string in Python. Iteration means going through each element one by one. Thanks to Python’s versatility we have many methods i.... Read More

Related Posts