Computer Vision In Python! Face Detection & Image Processing

person icon Emenwa Global, Ejike IfeanyiChukwu

Computer Vision In Python! Face Detection & Image Processing

Learn Computer Vision With OpenCV In Python! Master Python By Implementing Face Recognition & Image Processing In Python

updated on icon Updated on Sep, 2023

language icon Language - English

person icon Emenwa Global, Ejike IfeanyiChukwu

architecture icon Development,Programming Languages,Python


30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 19,000+ top Tutorialspoint courses anytime, anywhere.

Course Description

Computer vision is an interdisciplinary field that deals with how computers can be made to gain high-level understanding from digital images or videos. From the perspective of engineering, it seeks to automate tasks that the human visual system can do. Computer vision is concerned with the automatic extraction, analysis and understanding of useful information from a single image or a sequence of images. It involves the development of a theoretical and algorithmic basis to achieve automatic visual understanding. As a scientific discipline, computer vision is concerned with the theory behind artificial systems that extract information from images. The image data can take many forms, such as video sequences, views from multiple cameras, or multi-dimensional data from a medical scanner. As a technological discipline, computer vision seeks to apply its theories and models for the construction of computer vision systems.


The fields most closely related to computer vision are image processing, image analysis and machine vision. There is a significant overlap in the range of techniques and applications that these cover. This implies that the basic techniques that are used and developed in these fields are similar, something which can be interpreted as there is only one field with different names. On the other hand, it appears to be necessary for research groups, scientific journals, conferences and companies to present or market themselves as belonging specifically to one of these fields and, hence, various characterizations which distinguish each of the fields from the others have been presented.

Computer graphics produces image data from 3D models, computer vision often produces 3D models from image data. There is also a trend towards a combination of the two disciplines, e.g., as explored in augmented reality.

The following characterizations appear relevant but should not be taken as universally accepted:

  • Image processing and image analysis tend to focus on 2D images, how to transform one image to another, e.g., by pixel-wise operations such as contrast enhancement, local operations such as edge extraction or noise removal, or geometrical transformations such as rotating the image. This characterization implies that image processing/analysis neither require assumptions nor produce interpretations about the image content.

  • Computer vision includes 3D analysis from 2D images. This analyzes the 3D scene projected onto one or several images, e.g., how to reconstruct structure or other information about the 3D scene from one or several images. Computer vision often relies on more or less complex assumptions about the scene depicted in an image.

  • Machine vision is the process of applying a range of technologies & methods to provide imaging-based automatic inspection, process control and robot guidance in industrial applications. Machine vision tends to focus on applications, mainly in manufacturing, e.g., vision-based robots and systems for vision-based inspection, measurement, or picking (such as bin picking). This implies that image sensor technologies and control theory often are integrated with the processing of image data to control a robot and that real-time processing is emphasized by means of efficient implementations in hardware and software. It also implies that the external conditions such as lighting can be and are often more controlled in machine vision than they are in general computer vision, which can enable the use of different algorithms.

  • There is also a field called imaging which primarily focuses on the process of producing images, but sometimes also deals with processing and analysis of images. For example, medical imaging includes substantial work on the analysis of image data in medical applications.

  • Finally, pattern recognition is a field which uses various methods to extract information from signals in general, mainly based on statistical approaches and artificial neural networks. A significant part of this field is devoted to applying these methods to image data.


Applications range from tasks such as industrial machine vision systems which, say, inspect bottles speeding by on a production line, to research into artificial intelligence and computers or robots that can comprehend the world around them. The computer vision and machine vision fields have significant overlap. Computer vision covers the core technology of automated image analysis which is used in many fields. Machine vision usually refers to a process of combining automated image analysis with other methods and technologies to provide automated inspection and robot guidance in industrial applications. In many computer-vision applications, the computers are pre-programmed to solve a particular task, but methods based on learning are now becoming increasingly common. Examples of applications of computer vision include systems for:

  • Automatic inspection, e.g., in manufacturing applications;

  • Assisting humans in identification tasks, e.g., a species identification system

  • Controlling processes, e.g., an industrial robot;

  • Detecting events, e.g., for visual surveillance or people counting, e.g., in the restaurant industry;

  • Interaction, e.g., as the input to a device for computer-human interaction;

  • Modeling objects or environments, e.g., medical image analysis or topographical modeling;

  • Navigation, e.g., by an autonomous vehicle or mobile robot; and

  • Organizing information, e.g., for indexing databases of images and image sequences.


One of the most prominent application fields is medical computer vision, or medical image processing, characterized by the extraction of information from image data to diagnose a patient. An example of this is detection of tumors, arteriosclerosis or other malign changes; measurements of organ dimensions, blood flow, etc. are another example. It also supports medical research by providing new information: e.g., about the structure of the brain, or about the quality of medical treatments. Applications of computer vision in the medical area also includes enhancement of images interpreted by humans—ultrasonic images or X-ray images for example—to reduce the influence of noise.

Machine Vision

A second application area in computer vision is in industry, sometimes called machine vision, where information is extracted for the purpose of supporting a manufacturing process. One example is quality control where details or final products are being automatically inspected in order to find defects. Another example is measurement of position and orientation of details to be picked up by a robot arm. Machine vision is also heavily used in agricultural process to remove undesirable food stuff from bulk material, a process called optical sorting.


Military applications are probably one of the largest areas for computer vision. The obvious examples are detection of enemy soldiers or vehicles and missile guidance. More advanced systems for missile guidance send the missile to an area rather than a specific target, and target selection is made when the missile reaches the area based on locally acquired image data. Modern military concepts, such as "battlefield awareness", imply that various sensors, including image sensors, provide a rich set of information about a combat scene which can be used to support strategic decisions. In this case, automatic processing of the data is used to reduce complexity and to fuse information from multiple sensors to increase reliability.

Autonomous vehicles

One of the newer application areas is autonomous vehicles, which include submersibles, land-based vehicles (small robots with wheels, cars or trucks), aerial vehicles, and unmanned aerial vehicles (UAV). The level of autonomy ranges from fully autonomous (unmanned) vehicles to vehicles where computer-vision-based systems support a driver or a pilot in various situations. Fully autonomous vehicles typically use computer vision for navigation, e.g. for knowing where it is, or for producing a map of its environment (SLAM) and for detecting obstacles. It can also be used for detecting certain task specific events, e.g., a UAV looking for forest fires. Examples of supporting systems are obstacle warning systems in cars, and systems for autonomous landing of aircraft. Several car manufacturers have demonstrated systems for autonomous driving of cars, but this technology has still not reached a level where it can be put on the market. There are ample examples of military autonomous vehicles ranging from advanced missiles to UAVs for recon missions or missile guidance. Space exploration is already being made with autonomous vehicles using computer vision, e.g., NASA's Curiosity and CNSA's Yutu-2 rover.

Tactile Feedback

Materials such as rubber and silicon are being used to create sensors that allow for applications such as detecting micro undulations and calibrating robotic hands. Rubber can be used in order to create a mold that can be placed over a finger, inside of this mold would be multiple strain gauges. The finger mold and sensors could then be placed on top of a small sheet of rubber containing an array of rubber pins. A user can then wear the finger mold and trace a surface. A computer can then read the data from the strain gauges and measure if one or more of the pins is being pushed upward. If a pin is being pushed upward then the computer can recognize this as an imperfection in the surface. This sort of technology is useful in order to receive accurate data of the imperfections on a very large surface. Another variation of this finger mold sensor are sensors that contain a camera suspended in silicon. The silicon forms a dome around the outside of the camera and embedded in the silicon are point markers that are equally spaced. These cameras can then be placed on devices such as robotic hands in order to allow the computer to receive highly accurate tactile data.

Other application areas include:

  • Support of visual effects creation for cinema and broadcast, e.g., camera tracking (matchmoving).

  • Surveillance.

  • Driver drowsiness detection

  • Tracking and counting organisms in the biological sciences

[Reference: Wikipedia]


What will you learn in this course:

  • Use OpenCV to work with image files
  • Understanding the fundamentals of computer vision & image processing
  • Use Python and OpenCV to draw shapes on images and videos
  • Get started with image manipulation with OpenCV, including smoothing, blurring, thresholding, and morphological operations.
  • OpenCV Image Manipulation Fundamentals using Python. Also includes a Python basics refresher session.
  • Open and Stream video with Python and OpenCV
  • Detect Objects, including corner, edge, and grid detection techniques with OpenCV and Python
  • Create Face Detection Software Using Haar Classifier
  • Have a toolbox of the most powerful Computer Vision models
  • Understand the theory behind Computer Vision
  • Create powerful Computer Vision applications


What are the prerequisites for this course?

  • Basic Python programming knowledge
Computer Vision In Python! Face Detection & Image Processing


Check out the detailed breakdown of what’s inside the course

Introduction To Computer Vision In Python! Face Detection & Image Processing
21 Lectures
  • play icon Getting Started With Computer Vision In Python! General Course Overview... 04:30 04:30
  • play icon PyCharm, Numpy and OpenCV Setup For Beginners 07:29 07:29
  • play icon How to Read an Image 10:20 10:20
  • play icon How to Write an Image 04:49 04:49
  • play icon Basic Operations In openCV 10:01 10:01
  • play icon How to Read A Video 08:05 08:05
  • play icon How to convert Videos to Gray mode 04:38 04:38
  • play icon Some VideoCapture properties 07:45 07:45
  • play icon How to save Video Captures 10:29 10:29
  • play icon Face Detection Using Haar Cascade Classifier 14:37 14:37
  • play icon Face Detection in a video 11:52 11:52
  • play icon Eye Detection Using Haar Cascade Classifier 08:44 08:44
  • play icon Eye Detection in a Video 10:55 10:55
  • play icon Assignment and Solution on Face and Eye Detection In an Image 11:19 11:19
  • play icon Assignment and Solution on Face and Eye Detection in a video 14:57 14:57
  • play icon How to draw geometric shapes 10:07 10:07
  • play icon How to draw a Rectangle 09:05 09:05
  • play icon How to draw a Circle 08:28 08:28
  • play icon How to add Text on image 07:23 07:23
  • play icon Camera Setting Parameter 07:54 07:54
  • play icon How To Add Text, Date and Time on a Video 13:41 13:41
Working with Numpy In Computer Vision
13 Lectures
Image Thresholding In Computer Vision
2 Lectures
Working With Matplotlib In Computer Vision
2 Lectures
Morphological Transformation In Computer Vision
6 Lectures
Image Filtration Processes In Computer Vision
5 Lectures
Image Pyramids In Computer Vision
4 Lectures
Contours In Computer Vision
3 Lectures
Geometric Shapes Analysis In Computer Vision
3 Lectures

Instructor Details

Emenwa Global

Emenwa Global

Learn by doing it yourself from scratch... Build real projects henceforth!

Emenwa Global instructors are industry experts with years of practical, real-world experience building software at industry leading companies. They are sharing everything they know to teach thousands of students around the world, just like you, the most in-demand technical and non-technical skills (which are commonly overlooked) in the most efficient way so that you can take control of your life and unlock endless exciting new career opportunities in the world of technology, no matter your background or experience. 

Emenwa Global is a professional software development company that offers global services which include Computer programming, Website Development, Digital Marketing, SEO, Content Provision, Mobile Application Development, Networking and Cyber Security to wide range of individuals and companies all over the world. We help you to achieve your dream in the world of internet business and we always accompany our clients until they are fully satisfied. Our team of Engineers are 24/7 at your service.

Learn creative skills, from absolute beginner to advanced mastery.

Emenwa Global exists to help you succeed in life. Each course has been hand-tailored to teach a specific practical skill.

Whether you’re trying to learn a new skill from scratch, or want to refresh your memory on something you’ve learned in the past, you’ve come to the right place.

Education makes the world a better place. Make your world better with new practical skills from scratch...

One other important philosophy is that our courses are taught by real professionals, software developers with real and substantial experience in the industry, who are also great teachers. All our instructors are experienced, software developers.

Our courses can be watched 24/7 wherever you are. Most are fully downloadable so you can take them with you. You can also view them on mobile devices with the Udemy mobile app.

Whether you are a beginner, looking to learn how to program for the very first time, or to brush up on your existing skills, or to learn new languages and frameworks, the Academy has you covered. Welcome to Emenwa Global... Get our complete and practical courses today!

Course Certificate

User your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
People having fun around a laptop

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
People having fun around a laptop

Talk to us