Change the Pixel Value of an Image in OpenCV Python | OpenCV Tutorial

In Python OpenCV Tutorial, Explained How to Change Pixels Color in an image using NumPy Slicing and indexing. Get the answers of below questions: What is pixel? What is resolution? How to read image pixel? How to get image pixel? How to print image pixel? How to change the pixel value of an image in python …

Change the Pixel Value of an Image in OpenCV Python | OpenCV Tutorial Read More »

Get Image Pixels Using OpenCV Python | OpenCV Tutorial in Hindi

In Python OpenCV Tutorial, Explained How to get image pixel using NumPy Slicing and indexing. How to access image pixels Below code executed on Jupyter Notebook Access Single Pixel of Image Show single pixel of Image as Image Access the row of Image Access the row of single & double channel Image Access the column of …

Get Image Pixels Using OpenCV Python | OpenCV Tutorial in Hindi Read More »

How to Dilate(Dilation) Image using OpenCV Python

Morphological Operations Morphological transformations are some simple operations based on the image shape. It is normally performed on binary images. It needs two inputs, one is our original image, the second one is called structuring element or kernel which decides the nature of the operation. Two basic morphological operators are Erosion and Dilation. Then its variant …

How to Dilate(Dilation) Image using OpenCV Python Read More »

How to Erode(Erosion) Image using OpenCV Python

Morphological Operations Morphological transformations are some simple operations based on the image shape. It is normally performed on binary images. It needs two inputs, one is our original image, the second one is called structuring element or kernel which decides the nature of the operation. Two basic morphological operators are Erosion and Dilation. Then its variant …

How to Erode(Erosion) Image using OpenCV Python Read More »

Create Zeros vs Zeros _like vs Zeros _initializer Tensor Using TensorFlow 2.0 Python Tutorial

In TensorFlow 2.0, we can create Zeros Tensor(every element in tensor are zeros) in different ways using tf.zeros() and tf.zeros_like() and tf.zeros_initializer(). Create Zeros Tesnor using tf.zeros() Creates a tensor with all elements set to zero (0) Syntax: Create Zeros Tesnor using tf.zeros_like() Creates a tensor with all elements set to zero. Syntax: Create Zeros Tesnor using tf.zeros_initializer() Initializer that generates …

Create Zeros vs Zeros _like vs Zeros _initializer Tensor Using TensorFlow 2.0 Python Tutorial Read More »

tensorlfow-ones-tensor

Create Ones vs Ones_like vs Ones_initializer Tensor Using TensorFlow 2.0 Python Tutorial

In TensorFlow 2.0, we can create Ones Tensor(every element in tensor are ones) in different ways using tf.ones() and tf.ones_like() and tf.ones_initializer(). Create Ones Tesnor using tf.ones() Creates a tensor with all elements set to one (1) Syntax: Create Ones Tesnor using tf.ones_like() Creates a tensor of all ones that has the same shape as …

Create Ones vs Ones_like vs Ones_initializer Tensor Using TensorFlow 2.0 Python Tutorial Read More »

Create Sparse Tensor using TensorFlow 2.0 Python Tutorial

What is Sparse Tensor? Tensor that contain mostly zero values are called sparse tensor. When working with tensors that contain a lot of zero values, it is important to store them in a space- and time-efficient manner. Sparse tensors enable efficient storage and processing of tensors that contain a lot of zero values.Sparse tensors are …

Create Sparse Tensor using TensorFlow 2.0 Python Tutorial Read More »

Create TensorFlow Placeholder using TensorFlow 2.X Python Tutorial

A TensorFlow placeholder is simply a variable that we will assign data to at a later date. It allows us to create our operations and build our computation graph, without needing the data. Syntax: tf.compat.v1.placeholder(dtype, shape=None, name=None) How to Use TensorFlow Placeholder In TensorFlow 2.X How Migrate your TensorFlow 1 code to TensorFlow 2 REF: …

Create TensorFlow Placeholder using TensorFlow 2.X Python Tutorial Read More »