OpenCV with Python By Example

Packt Publishing Ltd
2
Free sample

Build real-world computer vision applications and develop cool demos using OpenCV for PythonAbout This Book
  • Learn how to apply complex visual effects to images using geometric transformations and image filters
  • Extract features from an image and use them to develop advanced applications
  • Build algorithms to help you understand the image content and perform visual searches
Who This Book Is For

This book is intended for Python developers who are new to OpenCV and want to develop computer vision applications with OpenCV-Python. This book is also useful for generic software developers who want to deploy computer vision applications on the cloud. It would be helpful to have some familiarity with basic mathematical concepts such as vectors, matrices, and so on.

What You Will Learn
  • Apply geometric transformations to images, perform image filtering, and convert an image into a cartoon-like image
  • Detect and track various body parts such as the face, nose, eyes, ears, and mouth
  • Stitch multiple images of a scene together to create a panoramic image
  • Make an object disappear from an image
  • Identify different shapes, segment an image, and track an object in a live video
  • Recognize an object in an image and build a visual search engine
  • Reconstruct a 3D map from images
  • Build an augmented reality application
In Detail

Computer vision is found everywhere in modern technology. OpenCV for Python enables us to run computer vision algorithms in real time. With the advent of powerful machines, we are getting more processing power to work with. Using this technology, we can seamlessly integrate our computer vision applications into the cloud. Web developers can develop complex applications without having to reinvent the wheel.

This book will walk you through all the building blocks needed to build amazing computer vision applications with ease. We start off with applying geometric transformations to images. We then discuss affine and projective transformations and see how we can use them to apply cool geometric effects to photos. We will then cover techniques used for object recognition, 3D reconstruction, stereo imaging, and other computer vision applications.

This book will also provide clear examples written in Python to build OpenCV applications. The book starts off with simple beginner's level tasks such as basic processing and handling images, image mapping, and detecting images. It also covers popular OpenCV libraries with the help of examples.

The book is a practical tutorial that covers various examples at different levels, teaching you about the different functions of OpenCV and their actual implementation.

Style and approach

This is a conversational-style book filled with hands-on examples that are really easy to understand. Each topic is explained very clearly and is followed by a programmatic implementation so that the concept is solidified. Each topic contributes to something bigger in the following chapters, which helps you understand how to piece things together to build something big and complex.

Read more

About the author

Prateek Joshi is a computer vision researcher with a primary focus on content-based analysis. He is particularly interested in intelligent algorithms that can understand images to produce scene descriptions in terms of constituent objects. He has a master's degree from the University of Southern California, specializing in computer vision. He was elected to become a member of the Honor Society for academic excellence and an ambassador for the School of Engineering. Over the course of his career, he has worked for companies such as Nvidia, Microsoft Research, Qualcomm, and a couple of early stage start-ups in Silicon Valley. His work in this field has resulted in multiple patents, tech demos, and research papers at major IEEE conferences. He has won many hackathons using a wide variety of technologies related to image recognition. He enjoys blogging about topics such as artificial intelligence, abstract mathematics, and cryptography. His blog has been visited by users in more than 200 countries, and he has been featured as a guest author in prominent tech magazines.

Read more

Reviews

4.5
2 total
Loading...

Additional Information

Publisher
Packt Publishing Ltd
Read more
Published on
Sep 22, 2015
Read more
Pages
296
Read more
ISBN
9781785289873
Read more
Language
English
Read more
Genres
Computers / Computer Vision & Pattern Recognition
Computers / Internet / Application Development
Computers / Programming / Open Source
Read more
Content Protection
This content is DRM free.
Read more
Read Aloud
Available on Android devices
Read more

Reading information

Smartphones and Tablets

Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.

Laptops and Computers

You can read books purchased on Google Play using your computer's web browser.

eReaders and other devices

To read on e-ink devices like the Sony eReader or Barnes & Noble Nook, you'll need to download a file and transfer it to your device. Please follow the detailed Help center instructions to transfer the files to supported eReaders.
Prateek Joshi
Build real-world Artificial Intelligence applications with Python to intelligently interact with the world around youAbout This BookStep into the amazing world of intelligent apps using this comprehensive guideEnter the world of Artificial Intelligence, explore it, and create your own applicationsWork through simple yet insightful examples that will get you up and running with Artificial Intelligence in no timeWho This Book Is For

This book is for Python developers who want to build real-world Artificial Intelligence applications. This book is friendly to Python beginners, but being familiar with Python would be useful to play around with the code. It will also be useful for experienced Python programmers who are looking to use Artificial Intelligence techniques in their existing technology stacks.

What You Will LearnRealize different classification and regression techniquesUnderstand the concept of clustering and how to use it to automatically segment dataSee how to build an intelligent recommender systemUnderstand logic programming and how to use itBuild automatic speech recognition systemsUnderstand the basics of heuristic search and genetic programmingDevelop games using Artificial IntelligenceLearn how reinforcement learning worksDiscover how to build intelligent applications centered on images, text, and time series dataSee how to use deep learning algorithms and build applications based on itIn Detail

Artificial Intelligence is becoming increasingly relevant in the modern world where everything is driven by technology and data. It is used extensively across many fields such as search engines, image recognition, robotics, finance, and so on. We will explore various real-world scenarios in this book and you'll learn about various algorithms that can be used to build Artificial Intelligence applications.

During the course of this book, you will find out how to make informed decisions about what algorithms to use in a given context. Starting from the basics of Artificial Intelligence, you will learn how to develop various building blocks using different data mining techniques. You will see how to implement different algorithms to get the best possible results, and will understand how to apply them to real-world scenarios. If you want to add an intelligence layer to any application that's based on images, text, stock market, or some other form of data, this exciting book on Artificial Intelligence will definitely be your guide!

Style and approach

This highly practical book will show you how to implement Artificial Intelligence. The book provides multiple examples enabling you to create smart applications to meet the needs of your organization. In every chapter, we explain an algorithm, implement it, and then build a smart application.

Prateek Joshi
100 recipes that teach you how to perform various machine learning tasks in the real worldAbout This BookUnderstand which algorithms to use in a given context with the help of this exciting recipe-based guideLearn about perceptrons and see how they are used to build neural networksStuck while making sense of images, text, speech, and real estate? This guide will come to your rescue, showing you how to perform machine learning for each one of these using various techniquesWho This Book Is For

This book is for Python programmers who are looking to use machine-learning algorithms to create real-world applications. This book is friendly to Python beginners, but familiarity with Python programming would certainly be useful to play around with the code.

What You Will LearnExplore classification algorithms and apply them to the income bracket estimation problemUse predictive modeling and apply it to real-world problemsUnderstand how to perform market segmentation using unsupervised learningExplore data visualization techniques to interact with your data in diverse waysFind out how to build a recommendation engineUnderstand how to interact with text data and build models to analyze itWork with speech data and recognize spoken words using Hidden Markov ModelsAnalyze stock market data using Conditional Random FieldsWork with image data and build systems for image recognition and biometric face recognitionGrasp how to use deep neural networks to build an optical character recognition systemIn Detail

Machine learning is becoming increasingly pervasive in the modern data-driven world. It is used extensively across many fields such as search engines, robotics, self-driving cars, and more.

With this book, you will learn how to perform various machine learning tasks in different environments. We'll start by exploring a range of real-life scenarios where machine learning can be used, and look at various building blocks. Throughout the book, you'll use a wide variety of machine learning algorithms to solve real-world problems and use Python to implement these algorithms.

You'll discover how to deal with various types of data and explore the differences between machine learning paradigms such as supervised and unsupervised learning. We also cover a range of regression techniques, classification algorithms, predictive modeling, data visualization techniques, recommendation engines, and more with the help of real-world examples.

Style and approach

You will explore various real-life scenarios in this book where machine learning can be used, and learn about different building blocks of machine learning using independent recipes in the book.

Gary Bradski
"This library is useful for practitioners, and is an excellent tool for those entering the field: it is a set of computer vision algorithms that work as advertised."-William T. Freeman, Computer Science and Artificial Intelligence Laboratory, Massachusetts Institute of Technology

Learning OpenCV puts you in the middle of the rapidly expanding field of computer vision. Written by the creators of the free open source OpenCV library, this book introduces you to computer vision and demonstrates how you can quickly build applications that enable computers to "see" and make decisions based on that data.

Computer vision is everywhere-in security systems, manufacturing inspection systems, medical image analysis, Unmanned Aerial Vehicles, and more. It stitches Google maps and Google Earth together, checks the pixels on LCD screens, and makes sure the stitches in your shirt are sewn properly. OpenCV provides an easy-to-use computer vision framework and a comprehensive library with more than 500 functions that can run vision code in real time.

Learning OpenCV will teach any developer or hobbyist to use the framework quickly with the help of hands-on exercises in each chapter. This book includes:A thorough introduction to OpenCVGetting input from camerasTransforming imagesSegmenting images and shape matchingPattern recognition, including face detectionTracking and motion in 2 and 3 dimensions3D reconstruction from stereo visionMachine learning algorithms

Getting machines to see is a challenging but entertaining goal. Whether you want to build simple or sophisticated vision applications, Learning OpenCV is the book you need to get started.

Joseph Howse
Get savvy with OpenCV and actualize cool computer vision applicationsAbout This BookUse OpenCV's Python bindings to capture video, manipulate images, and track objectsLearn about the different functions of OpenCV and their actual implementations.Develop a series of intermediate to advanced projects using OpenCV and PythonWho This Book Is For

This learning path is for someone who has a working knowledge of Python and wants to try out OpenCV. This Learning Path will take you from a beginner to an expert in computer vision applications using OpenCV. OpenCV's application are humongous and this Learning Path is the best resource to get yourself acquainted thoroughly with OpenCV.

What You Will LearnInstall OpenCV and related software such as Python, NumPy, SciPy, OpenNI, and SensorKinect - all on Windows, Mac or UbuntuApply "curves" and other color transformations to simulate the look of old photos, movies, or video gamesApply geometric transformations to images, perform image filtering, and convert an image into a cartoon-like imageRecognize hand gestures in real time and perform hand-shape analysis based on the output of a Microsoft Kinect sensorReconstruct a 3D real-world scene from 2D camera motion and common camera reprojection techniquesDetect and recognize street signs using a cascade classifier and support vector machines (SVMs)Identify emotional expressions in human faces using convolutional neural networks (CNNs) and SVMsStrengthen your OpenCV2 skills and learn how to use new OpenCV3 featuresIn Detail

OpenCV is a state-of-art computer vision library that allows a great variety of image and video processing operations. OpenCV for Python enables us to run computer vision algorithms in real time. This learning path proposes to teach the following topics. First, we will learn how to get started with OpenCV and OpenCV3's Python API, and develop a computer vision application that tracks body parts. Then, we will build amazing intermediate-level computer vision applications such as making an object disappear from an image, identifying different shapes, reconstructing a 3D map from images , and building an augmented reality application, Finally, we'll move to more advanced projects such as hand gesture recognition, tracking visually salient objects, as well as recognizing traffic signs and emotions on faces using support vector machines and multi-layer perceptrons respectively.

This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products:

OpenCV Computer Vision with Python by Joseph HowseOpenCV with Python By Example by Prateek JoshiOpenCV with Python Blueprints by Michael BeyelerStyle and approach

This course aims to create a smooth learning path that will teach you how to get started with will learn how to get started with OpenCV and OpenCV 3's Python API, and develop superb computer vision applications. Through this comprehensive course, you'll learn to create computer vision applications from scratch to finish and more!.

Prateek Joshi
Learn to solve challenging data science problems by building powerful machine learning models using PythonAbout This BookUnderstand which algorithms to use in a given context with the help of this exciting recipe-based guideThis practical tutorial tackles real-world computing problems through a rigorous and effective approachBuild state-of-the-art models and develop personalized recommendations to perform machine learning at scaleWho This Book Is For

This Learning Path is for Python programmers who are looking to use machine learning algorithms to create real-world applications. It is ideal for Python professionals who want to work with large and complex datasets and Python developers and analysts or data scientists who are looking to add to their existing skills by accessing some of the most powerful recent trends in data science. Experience with Python, Jupyter Notebooks, and command-line execution together with a good level of mathematical knowledge to understand the concepts is expected. Machine learning basic knowledge is also expected.

What You Will LearnUse predictive modeling and apply it to real-world problemsUnderstand how to perform market segmentation using unsupervised learningApply your new-found skills to solve real problems, through clearly-explained code for every technique and testCompete with top data scientists by gaining a practical and theoretical understanding of cutting-edge deep learning algorithmsIncrease predictive accuracy with deep learning and scalable data-handling techniquesWork with modern state-of-the-art large-scale machine learning techniquesLearn to use Python code to implement a range of machine learning algorithms and techniquesIn Detail

Machine learning is increasingly spreading in the modern data-driven world. It is used extensively across many fields such as search engines, robotics, self-driving cars, and more. Machine learning is transforming the way we understand and interact with the world around us.

In the first module, Python Machine Learning Cookbook, you will learn how to perform various machine learning tasks using a wide variety of machine learning algorithms to solve real-world problems and use Python to implement these algorithms.

The second module, Advanced Machine Learning with Python, is designed to take you on a guided tour of the most relevant and powerful machine learning techniques and you'll acquire a broad set of powerful skills in the area of feature selection and feature engineering.

The third module in this learning path, Large Scale Machine Learning with Python, dives into scalable machine learning and the three forms of scalability. It covers the most effective machine learning techniques on a map reduce framework in Hadoop and Spark in Python.

This Learning Path will teach you Python machine learning for the real world. The machine learning techniques covered in this Learning Path are at the forefront of commercial practice.

This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products:

Python Machine Learning Cookbook by Prateek JoshiAdvanced Machine Learning with Python by John HeartyLarge Scale Machine Learning with Python by Bastiaan Sjardin, Alberto Boschetti, Luca MassaronStyle and approach

This course is a smooth learning path that will teach you how to get started with Python machine learning for the real world, and develop solutions to real-world problems. Through this comprehensive course, you'll learn to create the most effective machine learning techniques from scratch and more!

Prateek Joshi
Enhance your understanding of Computer Vision and image processing by developing real-world projects in OpenCV 3About This BookGet to grips with the basics of Computer Vision and image processingThis is a step-by-step guide to developing several real-world Computer Vision projects using OpenCV 3This book takes a special focus on working with Tesseract OCR, a free, open-source library to recognize text in imagesWho This Book Is For

If you are a software developer with a basic understanding of Computer Vision and image processing and want to develop interesting Computer Vision applications with Open CV, this is the book for you. Knowledge of C++ is required.

What You Will LearnInstall OpenCV 3 on your operating systemCreate the required CMake scripts to compile the C++ application and manage its dependenciesGet to grips with the Computer Vision workflows and understand the basic image matrix format and filtersUnderstand the segmentation and feature extraction techniquesRemove backgrounds from a static scene to identify moving objects for video surveillanceTrack different objects in a live video using various techniquesUse the new OpenCV functions for text detection and recognition with TesseractIn Detail

Open CV is a cross-platform, free-for-use library that is primarily used for real-time Computer Vision and image processing. It is considered to be one of the best open source libraries that helps developers focus on constructing complete projects on image processing, motion detection, and image segmentation.

Whether you are completely new to the concept of Computer Vision or have a basic understanding of it, this book will be your guide to understanding the basic OpenCV concepts and algorithms through amazing real-world examples and projects.

Starting from the installation of OpenCV on your system and understanding the basics of image processing, we swiftly move on to creating optical flow video analysis or text recognition in complex scenes, and will take you through the commonly used Computer Vision techniques to build your own Open CV projects from scratch.

By the end of this book, you will be familiar with the basics of Open CV such as matrix operations, filters, and histograms, as well as more advanced concepts such as segmentation, machine learning, complex video analysis, and text recognition.

Style and approach

This book is a practical guide with lots of tips, and is closely focused on developing Computer vision applications with OpenCV. Beginning with the fundamentals, the complexity increases with each chapter. Sample applications are developed throughout the book that you can execute and use in your own projects.

Prateek Joshi
Build real-world Artificial Intelligence applications with Python to intelligently interact with the world around youAbout This BookStep into the amazing world of intelligent apps using this comprehensive guideEnter the world of Artificial Intelligence, explore it, and create your own applicationsWork through simple yet insightful examples that will get you up and running with Artificial Intelligence in no timeWho This Book Is For

This book is for Python developers who want to build real-world Artificial Intelligence applications. This book is friendly to Python beginners, but being familiar with Python would be useful to play around with the code. It will also be useful for experienced Python programmers who are looking to use Artificial Intelligence techniques in their existing technology stacks.

What You Will LearnRealize different classification and regression techniquesUnderstand the concept of clustering and how to use it to automatically segment dataSee how to build an intelligent recommender systemUnderstand logic programming and how to use itBuild automatic speech recognition systemsUnderstand the basics of heuristic search and genetic programmingDevelop games using Artificial IntelligenceLearn how reinforcement learning worksDiscover how to build intelligent applications centered on images, text, and time series dataSee how to use deep learning algorithms and build applications based on itIn Detail

Artificial Intelligence is becoming increasingly relevant in the modern world where everything is driven by technology and data. It is used extensively across many fields such as search engines, image recognition, robotics, finance, and so on. We will explore various real-world scenarios in this book and you'll learn about various algorithms that can be used to build Artificial Intelligence applications.

During the course of this book, you will find out how to make informed decisions about what algorithms to use in a given context. Starting from the basics of Artificial Intelligence, you will learn how to develop various building blocks using different data mining techniques. You will see how to implement different algorithms to get the best possible results, and will understand how to apply them to real-world scenarios. If you want to add an intelligence layer to any application that's based on images, text, stock market, or some other form of data, this exciting book on Artificial Intelligence will definitely be your guide!

Style and approach

This highly practical book will show you how to implement Artificial Intelligence. The book provides multiple examples enabling you to create smart applications to meet the needs of your organization. In every chapter, we explain an algorithm, implement it, and then build a smart application.

Prateek Joshi
100 recipes that teach you how to perform various machine learning tasks in the real worldAbout This BookUnderstand which algorithms to use in a given context with the help of this exciting recipe-based guideLearn about perceptrons and see how they are used to build neural networksStuck while making sense of images, text, speech, and real estate? This guide will come to your rescue, showing you how to perform machine learning for each one of these using various techniquesWho This Book Is For

This book is for Python programmers who are looking to use machine-learning algorithms to create real-world applications. This book is friendly to Python beginners, but familiarity with Python programming would certainly be useful to play around with the code.

What You Will LearnExplore classification algorithms and apply them to the income bracket estimation problemUse predictive modeling and apply it to real-world problemsUnderstand how to perform market segmentation using unsupervised learningExplore data visualization techniques to interact with your data in diverse waysFind out how to build a recommendation engineUnderstand how to interact with text data and build models to analyze itWork with speech data and recognize spoken words using Hidden Markov ModelsAnalyze stock market data using Conditional Random FieldsWork with image data and build systems for image recognition and biometric face recognitionGrasp how to use deep neural networks to build an optical character recognition systemIn Detail

Machine learning is becoming increasingly pervasive in the modern data-driven world. It is used extensively across many fields such as search engines, robotics, self-driving cars, and more.

With this book, you will learn how to perform various machine learning tasks in different environments. We'll start by exploring a range of real-life scenarios where machine learning can be used, and look at various building blocks. Throughout the book, you'll use a wide variety of machine learning algorithms to solve real-world problems and use Python to implement these algorithms.

You'll discover how to deal with various types of data and explore the differences between machine learning paradigms such as supervised and unsupervised learning. We also cover a range of regression techniques, classification algorithms, predictive modeling, data visualization techniques, recommendation engines, and more with the help of real-world examples.

Style and approach

You will explore various real-life scenarios in this book where machine learning can be used, and learn about different building blocks of machine learning using independent recipes in the book.

©2018 GoogleSite Terms of ServicePrivacyDevelopersArtistsAbout Google
By purchasing this item, you are transacting with Google Payments and agreeing to the Google Payments Terms of Service and Privacy Notice.