IMAGE PROCESSING WITH OPENCV USING PYTHON

IMAGE PROCESSING WITH OPENCV USING PYTHON

IMAGE PROCESSING:

Image processing is a method to perform some operations on an image, in order to get an enhanced image or to extract some useful information from it. It is a type of signal processing in which input is an image and output may be image or characteristics/features associated with that image.

  • OPENCV:

OpenCV-Python is a library of Python bindings designed to solve computer vision problems. ... All the OpenCV array structures are converted to and from Numpy arrays. This also makes it easier to integrate with other libraries that use Numpy such as SciPy and Matplotlib.

OpenCV (Open Source Computer Vision Library) is an open source computer vision and machine learning software library. OpenCV was built to provide a common infrastructure for computer vision applications and to accelerate the use of machine perception in the commercial products. Being a BSD-licensed product, OpenCV makes it easy for businesses to utilize and modify the code.

The library has more than 2500 optimized algorithms, which includes a comprehensive set of both classic and state-of-the-art computer vision and machine learning algorithms. These algorithms can be used to detect and recognize faces, identify objects, classify human actions in videos, track camera movements, track moving objects, extract 3D models of objects, produce 3D point clouds from stereo cameras, stitch images together to produce a high resolution image of an entire scene, find similar images from an image database, remove red eyes from images taken using flash, follow eye movements, recognize scenery and establish markers to overlay it with augmented reality, etc. OpenCV has more than 47 thousand people of user community and estimated number of downloads exceeding 18 M. The library is used extensively in companies, research groups and by governmental bodies.

  • python libraries used in task:
  1. opencv
  2. numpy

Lets have a look at task

?? Task 4.1

?? Create image by yourself Using Python Code 


No alt text provided for this image

?? Task 4.2

?? Take 2 image crop some part of both image and swap it.

Images before swap:

No alt text provided for this image
No alt text provided for this image


Images after swap:

No alt text provided for this image
No alt text provided for this image

?? Task 4.3

?? Take 2 image and combine it to form single image. For example collage

No alt text provided for this image


THANK YOU FOR READING MY ARTICLE!!

要查看或添加评论,请登录

Ganesh Bhange的更多文章

  • Confusion Matrix and cyber security

    Confusion Matrix and cyber security

    Confusion matrix is a fairly common term when it comes to machine learning. Today I would be trying to relate the…

  • Training ML model in docker container

    Training ML model in docker container

    Step 1: Launch AWS EC2 instance and login as a root account. using "sudo su -" command.

    2 条评论
  • Benefits which MNCs are getting from AI/ML

    Benefits which MNCs are getting from AI/ML

    What is Artificial Intelligence? After seeing the term “Artificial Intelligence” the most common thought that one…

社区洞察

其他会员也浏览了