Basics of OpenCV (Resizing, Cropping, Rotation, and some other image Attributes)

By Shaileshkumar Mishra

Here we’ll be doing many operations on an image using OpenCV functions. To make this session interactive image of Thanos(A character from a famous movie ) is being taken for .... Read More

Ternary Operator in C++

By Ranjeet V

In this tutorial, we are going to learn about the ternary operator in C++. It uses three operands for its operation. It is also known as the conditional operator. Ternary Operator .... Read More

Annotation of plot using matplotlib in Python

By Sachin Rastogi

In this tutorial, we will learn the annotation of a plot using matplotlib in Python. We will see how to add labels and titles using matplotlib. Annotation:–  The word anno.... Read More

How to convert an image to Grayscale in PHP

By Faruque Ahamed Mollick

In this article, I am going to tell you how to convert a normal colored or any RGB image to a grayscale image in PHP. Before I go through, let me tell you what is actually a Graysc.... Read More

Select Random Element from Set in Python

By Prakhar Gupta

In this article, we will see how to select a random element from a set in Python. We have the random module in Python which implements pseudo-random number generators for various.... Read More

JavaScript mousemove Event | Execute on moving mouse pointer

By Faruque Ahamed Mollick

The JavaScript mousemove event executes when the mouse pointer moves over an element. With onmousemove event, we can execute our JavaScript code on moving the mouse pointer. Every .... Read More

Get the maximum value from an array in PHP

By Faruque Ahamed Mollick

Suppose we have an array that contains some numbers. Now we need to find the maximum value or number from that array in PHP. In this article, we are going to see the easiest way to.... Read More

Euclidean Algorithm to find GCD

By Arijit Roychaudhury

GCD is the greatest common divisor of two numbers. Ex: the gcd of 2 and 4 would be 2. In this tutorial, we will be learning how to find GCD using Euclidean Algorithm in Python. Euc.... Read More