The Wayback Machine - https://web.archive.org/web/20240830185044/https://www.geeksforgeeks.org/what-is-convolution-in-computer-vision/
Open In App

What is Convolution in Computer Vision

Last Updated : 28 Feb, 2022
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

In this article, we are going to see what is Convolution in Computer Vision.

The Convolution Procedure

We will see the basic example to understand the procedure of convolution

Snake1: Bro this is an apple (FUSS FUSS)

Snake2: Okay but can you give me any proof? (FUSS FUSS FUSS) 

Snake1: What do you mean, mamma snake told us (FUSS FUSS) 

Snake2: ������������

These two poor snakes fought with each other, but have you ever considered we humans often do this? Think once?

Let’s compare human vision with computer vision for a second & think about it peacefully.

Compare human vision and computer vision

Did you remember in our childhood we have been taught while pointing out the fruits & at the same time visualizing something like ‘A’ for apple, ’B’ for the ball so on….if you see this our eyes get convolved with different objects with visualization & storing that information that how apple looks like in our brain known to be as a convolution in simple words.

Same as if you don’t see the object which means you are not convolving through to identify or classify the surroundings.

Did you sometimes think that as human beings we don’t give that much importance to the colors of an object at some point instead of focusing on the shape, size & texture of the object to understand how it looks like that is why if you see the apple of green color, red color,yellow-reddish color you can still understand that it’s an apple because you can differentiate between shape, size, the texture of different objects like apple, mango, etc.

What if we focus only on colors which could have fed wrong information like apples are always red, etc….are you getting it!!!! but it doesn’t matter that color doesn’t have importance at all but we focus on shape, size & texture instead at first to understand much better because the same object could be of different colors which may confuse our brain at some point.

If you are looking to buy a refined oil of fortune company then how do you behave: we already have the information stored in our brain about what package of fortune looks like, will you pick every refined oil package, then read the name after getting to know oh man it’s not fortune one(we as a human being doesn’t behave like this) instead here our eyes are focused on extracting the item looking for(fortune refined oil), we already have the stored information in our brain, so: in simple, we jump instantly from one rack to another to find the specific product looking for & in simple you are convolving through different items based on the specific oil with the help of already stored information & extracting the right one information instantly hence know to be as convolution(one of the important aspect of human life).

Now let us take this to the next level,

Consider the above image, you can see an elephant, a dog, a cat, and a donkey without any issue, consider it like normal human vision, but what if I tell you there are 15+ animals in this image, confused right?

Well now to figure it out, instead of solving this riddle, try to understand the process that your brain is following right now, let’s analyze it.

On the first hand we are trying to see the edges of these animals in case they are building any other animal or not, for example, if you analyse the trunk(nose) of elephants edges are building a fish, but did you notice it on the first hand? No right

Now analyze more you will see all these animals in the below image

Well, till now we were trying to connect the dots between human vision and computer vision, but put computer vision aside, and think about human vision, didn’t we apply a convolution layer first which was extracting edges of animals in order to build the shape same as we do in a convolution neural network. Assume you are entering a room which you have never seen before, will you directly jump on the place you want to go or you will analyze the things first, the small objects available in the room & then reach the place you want to go.

Another example can be when you cross a busy road full of traffic, don’t you first notice each vehicle.

Well since convolution neural networks learn from data, they follow the same step, first, they try to analyze the smallest component, the edges, and understand the basic build of objects, as we know starting convolution layers extract the edges and gradients first, later the patterns, parts of objects and finally the full object comes in the picture. Since now we have a clear understanding of the procedure of vision in our hands, let us talk about something interesting.

“Convolution operation importance is same as the water for a human being”

In childhood when a child is just a few months old, they never visualize the objects like how we do. A small child can only see a few edges and patterns of surroundings, this is one of the reasons why kids cry a lot when they are babies. They see blurry shapes of different objects & even science says they only have eyesight in the range of 20/200 to 20/400. Do you think about what is going on there, well they are convolving things, you can consider that early age as starting convolution layers.



Similar Reads

Difference between Computer Vision API and Custom Vision API
In this article, we will explore Microsoft Azure's Computer Vision API and Custom Vision API, two robust tools for image analysis and processing. What is Computer Vision API?The Computer Vision API is a pre-trained, readily deployable solution that provides a variety of sophisticated image processing capabilities without requiring additional setup.
4 min read
Computer Vision module application for finding a target in a live camera
NOTE: Using an online compiler is not going to work here. Please install Python 2.7x and cv2, argparse modules to actually try out this example. For most of us, who are big fans of all those action movies, and games like Modern Warfare, Black Ops, and so on, it has always been a dream to have the opportunity of saying “Target acquired…Waiting for a
5 min read
Top Applications of Computer Vision in the Retail Sector
Ecommerce is becoming more and more popular these days! After all, there's nothing more convenient than ordering something online and just getting it at your home in a few days. And if you don't like it, you can always return it. While online shopping has all these advantages, it doesn't mean that shopping at real-world stores has become any less p
13 min read
Top 7 Most Popular Computer Vision Tools in 2020
Open your phone and check the first image in your gallery? You can easily identify the people in the image and even describe it to your friend. That’s because it is very easy for humans to see things and describe what they are seeing but is that the same for computers? Not at all! It isn’t that easy for computers to “see” as it is for humans. And t
6 min read
Computer Vision - Introduction
Ever wondered how are we able to understand the things we see? Like we see someone walking, whether we realize it or not, using the prerequisite knowledge, our brain understands what is happening and stores it as information. Imagine we look at something and go completely blank. Into oblivion. Scary right? Well, the secret behind how our brain inte
3 min read
Applications of Computer Vision
Computer vision or machine vision is a field of science that enables computers or devices to recognize different objects just like human beings. the computers need to be trained to detect objects and also some patterns just like you teach a kid to identify the objects but the computers are more efficient as it takes very little time to be trained.
4 min read
A Quick Overview to Computer Vision
Computer vision means the extraction of information from images, text, videos, etc. Sometimes computer vision tries to mimic human vision. It’s a subset of computer-based intelligence or Artificial intelligence which collects information from digital images or videos and analyze them to define the attributes. The entire process involves image acqui
3 min read
Solve Sudoku with Computer Vision and Constraint Satisfaction Algorithm
This article explains a program in python 2.7 to solve a Sudoku 9x9 of the Android application "Sudoku" of genina.com. To solve a sudoku of the Android application "Sudoku" of genina.com, a screenshot of the game is taken (a 720x1280 image is obtained), then the number found in each of the 81 squares is obtained using KNN algorithm, once each eleme
9 min read
Essential OpenCV Functions to Get Started into Computer Vision
Computer vision is a process by which we can understand the images and videos how they are stored and how we can manipulate and retrieve data from them. Computer Vision is the base or mostly used for Artificial Intelligence. Computer-Vision is playing a major role in self-driving cars, robotics as well as in photo correction apps. OpenCV is the hug
7 min read
Creating a Finger Counter Using Computer Vision and OpenCv in Python
In this article, we are going to create a finger counter using Computer Vision, OpenCv in Python Required Libraries:OpenCV: OpenCV is a widely used library for image processing.cvzone: It is a computer vision package that makes it easy to run Image processing and AI functions To install the Cvzone, run this command into terminal: pip install cvzone
4 min read
Load a Computer Vision Dataset in PyTorch
Computer vision is a subset of Artificial Intelligence that gives the ability to the computer to understand images. In Deep Learning, Convolution Neural Network is used to process the image. For building the good we need a lot of images to process. There are several ways to load a computer vision dataset in PyTorch, depending on the format of the d
3 min read
Real-Time AI Virtual Mouse System Using Computer Vision
AI Virtual Mouse is a software that allows users to give inputs of a mouse to the system without using the actual mouse. To the extreme, it can also be called hardware as it uses an ordinary camera. A virtual muse can usually be operated with multiple input devices, which may include an actual mouse or computer keyboard. The virtual mouse uses a we
12 min read
How to Become a Computer Vision Engineer?
You are driving a car and mistakenly, you have jumped a traffic signal and your penalty is automatically issued by the cameras installed on the traffic signals for jumping the signal. Have you ever thought about how all this happened? These were all done with the help of computer vision, which captures your car or vehicle picture, detects your numb
6 min read
Computer Vision with PyTorch
PyTorch is a powerful framework applicable to various computer vision tasks. The article aims to enumerate the features and functionalities within the context of computer vision that empower developers to build neural networks and train models. It also demonstrates how PyTorch framework can be utilized for computer vision tasks. AI can use various
6 min read
What Are Contours in Computer Vision?
In computer vision, a contour is like a digital representation of that outline. It can be described as the series of connected points that define the boundary of an object, separating and/or highlighting it from the background. These points tend to share similar color or intensity values, making them distinct from their surroundings. In this articl
6 min read
Top Alternatives to OpenCV for Computer Vision
OpenCV is one of the most popular and widely-used libraries for computer vision tasks. However, there are several other libraries and frameworks available that offer alternatives to OpenCV, each with its own set of features, strengths, and weaknesses. In this article, we'll explore some of the top alternatives to OpenCV for computer vision applicat
3 min read
Computer Vision Libraries for Python: Features, Applications, and Suitability
Computer Vision allows machines to perceive and interpret the visual world. Computer vision captures images to understand the content and context of what is being seen and enables applications like autonomous driving, augmented reality, and more. Computer vision libraries are the backbone of these applications. What is Computer Vision Library?The c
6 min read
Computer Vision Applications in Robotics
Computer Vision Applications in Robotics have greatly improved what robots can do, allowing them to understand and interact with their surroundings better. This technology is being used in many industries, including manufacturing, healthcare, agriculture, and logistics, making work more efficient and productive. It involves recognizing objects, und
6 min read
Computer Vision Tasks
Computer vision is a branch of artificial intelligence that helps computers understand and analyze visual data from digital images, videos, and similar visual inputs. Using digital visual data obtained from various sources, we can teach computers to detect and interpret visual objects. It also plays a critical role in areas such as image recognitio
8 min read
Top 10 Sectors for Computer Vision Applications
Computer Vision has a wide-ranging applications across various domains, from healthcare and automotive industries to retail, agriculture, security, entertainment, education, and environmental monitoring. In this post, we will look into the top 10 sectors where Computer Vision plays a vital role, highlighting the Computer Vision Application in each
8 min read
Computer Vision Engineer Salary: Freshers & Experienced
Computer Vision Engineers are specialized professionals who develop systems and algorithms to interpret visual data. With the proliferation of AI and machine learning applications, the demand for computer vision expertise is skyrocketing. This blog provides a comprehensive overview of the salary landscape for Computer Vision Engineers, including fa
4 min read
Dataset for Computer Vision
Computer Vision is an area in the field of Artificial Intelligence that enables machines to interpret and understand visual information. As in case of any other AI application, Computer vision also requires huge amount of data to give accurate results. These datasets provide all the necessary training material for these algorithms. A dataset that w
11 min read
PyTorch Functional Transforms for Computer Vision
In this post, we will discuss ten PyTorch Functional Transforms most used in computer vision and image processing using PyTorch. PyTorch provides the torchvision library to perform different types of computer vision-related tasks. The functional transforms can be accessed from the torchvision.transforms.functional module. A functional transform giv
6 min read
6 Ways Computer Vision is Transforming Retail
Nowdays staying ahead means using technology to improve customer experiences, streamline operations, and boost sales. One of the most impactful technologies drives the change is Computer Vision. This technology allows machines to understand and interpret visual information from the real world, opening up many exciting opportunities for the retail i
5 min read
Top Computer Vision Companies and Startups
Computer Vision has become an important technology that allows machines to understand, interpret and comprehend visual information in a way that was never possible before. In this article, we will take a look at some of the Top leading companies and startups driving innovation in this field. Table of Content GoogleAmazonMicrosoftNVIDIAIBMIntelSense
5 min read
Use Cases of Computer Vision in Manufacturing
In this rapidly evolving landscape of manufacturing, leveraging advanced technologies is crucial for maintaining a competitive edge. One such technology, computer vision, is transforming the industry by automating and optimizing various processes. This article explores the diverse Use Cases of Computer Vision in Manufacturing, highlighting its impa
6 min read
How to learn Computer Vision?
Computer vision is about teaching computers to perceive and interpret the world around them, even though they lack the lifetime experiences we have. This article covers the basics of computer vision, strategies for learning it, recommended resources and courses, and its various applications. To learn any new technology or concept, consider these gu
9 min read
Transfer Learning for Computer Vision
Transfer learning is a powerful technique in the field of computer vision, where a pre-trained model on a large dataset is fine-tuned for a different but related task. This approach leverages the knowledge gained from the initial training to improve performance and reduce training time for the new task. Here’s an overview of transfer learning for c
7 min read
ResNeXt Architecture in Computer Vision
The ResNext model represents a significant evolution in convolutional neural network (CNN) architectures. Developed with the idea of increasing the accuracy of models without substantially increasing computational complexity, ResNext is a powerful tool in the field of deep learning, especially in tasks like image classification, object detection, a
8 min read
Difference between Traditional Computer Vision Techniques and Deep Learning-based Approaches
Computer vision enables machines to interpret and understand the visual world. Over the years, two main approaches have dominated the field: traditional computer vision techniques and deep learning-based approaches. This article delves into the fundamental differences between these two methodologies and how can be answered in the interview. Traditi
5 min read