3 Ways of Image Subtraction in Python with NumPy, OpenCV and Pillow Libraries

Introduction In this post, we will see various ways of doing image subtraction in Python by using NumPy, OpenCV, and Pillow libraries. The subtraction of images may sound a bit strange to beginners but images consist of numeric pixels hence we can perform pixel-wise subtraction between two images. Subtraction of Images When one image is subtracted from another it does pixel-wise subtraction where the pixel of the 2nd image is subtracted from the 1st image resulting in a new 3rd […]

Read more

3 Ways of Image Addition in Python with NumPy, OpenCV and Pillow Libraries

Introduction Addition of images might sound weird but people forget that an image is essentially a collection of numeric pixels. So we can do pixel-wise addition of the two images resulting in a new image. In this article, we will see multiple ways we can perform the addition of images in Python by using NumPy, OpenCV, and PIL libraries. Addition of Images When we add two images it does pixel-wise addition where each pixel in one image is added to […]

Read more

4 Ways to Crop Image in Python using NumPy, Pillow and OpenCV

Introduction In image processing & computer vision, cropping of images is a common task where we keep a specific region of interest from an image and discard the rest. In this article, we will see various ways you can crop an image in Python by using libraries like OpenCV, Pillow, and NumPy. Input Image In this tutorial, we will use the below image in all the examples of cropping image with Python.   Visualizing the Cropping Area on Image Before […]

Read more

Affine Transformation in OpenCV with cv2.warpAffine()

Introduction In this article, we will learn how to perform the affine transformation on images using the OpenCV cv2.warpAffine() function. First, we will understand what is affine transformation, and its uses. Then we shall cover a few examples of warpAffine() by performing transformations such as rotation, translation, scaling, and shearing. What is Affine Transformation In image processing the affine transformation is a geometric transformation that preserves collinearity (the property of points lying on a straight line) and ratios of distances […]

Read more

GGUF vs GGML : Understanding the Differences

Introduction The year 2023 was a landmark year for the Large Language Models (LLMS) ecosystem which saw a large number of proprietary models and open-source models becoming accessible to the public at large. It also saw LLMs getting published for CPUs in GGML format thus making LLMs accessible to people who lacked powerful GPUs. Soon in August 2023, another format called GGUF was released for CPU-based LLMs. With such rapid changes in the ecosystem many people especially beginners are confused […]

Read more

3 Examples of Monte Carlo Simulation in Python

Introduction In this post, we will understand what is Monte Carlo Simulation, what are its typical steps along with benefits and limitations. We will also take a look at its real-world application followed by a few examples of Monte Carlo simulation in Python along with visualization for better clarity. What is Monte Carlo Simulation Monte Carlo simulation is a computational technique to approximate the behavior or output of a complex system or problem by repeated random sampling. This method relies […]

Read more

Future of OTT: Exploring AI’s Impact on Streaming

Video streaming platforms are embracing artificial intelligence (AI) tools to enhance content recommendations, tailoring the viewing experience for individual users and simplifying content discovery. Industry experts anticipate AI’s expansion into scripting, dubbing, and even allowing users to participate directly in content streaming. Manish Kalra, Chief Business Officer at ZEE5 India, highlights the active use of AI in content recommendation, personalization, cross-device compatibility, and audience analytics across over-the-top (OTT) platforms. AI’s impact extends to social media marketing through creative content and […]

Read more

IMF Analysis Warns: Artificial Intelligence to Impact 40% of Jobs

The International Monetary Fund (IMF) has released a new analysis predicting that artificial intelligence (AI) is poised to influence almost 40% of all jobs globally. Kristalina Georgieva, the Managing Director of the IMF, emphasizes that, in most scenarios, AI is likely to exacerbate overall inequality. Ms. Georgieva calls for proactive measures from policymakers to address this “troubling trend” and prevent technology from intensifying social tensions. According to the IMF report, advanced economies will experience a higher impact, with AI affecting […]

Read more

GHDDI and Microsoft Research use AI technology to achieve significant progress in discovering new drugs to treat global infectious diseases

The Global Health Drug Discovery Institute (GHDDI) (opens in new tab) and Microsoft Research recently achieved significant progress in accelerating drug discovery for the treatment of global infectious diseases. Working in close collaboration, the joint team successfully used generative AI and foundation models to design several small molecule inhibitors for essential target proteins of Mycobacterium tuberculosis and coronaviruses. These new inhibitors  

Read more

Google Cloud Introduces Generative AI Tools for Retailers

In a significant move to transform the landscape of online shopping and retail operations, Google has unveiled a suite of innovative tools utilizing generative artificial intelligence. Announced by Google Cloud in a release on Thursday, these tools aim to elevate the online shopping experience and streamline various aspects of retail management. One standout feature among the newly introduced products is a generative AI-powered chatbot designed for deployment on websites and mobile apps. This virtual assistant engages with consumers, providing personalized […]

Read more
1 2 3