Skip to content
Home/ Learn OpenCV with Python by Examples: Implement Computer Vision Algorithms Provided by OpenCV with P
Learn OpenCV with Python by Examples: Implement Computer Vision Algorithms Provided by OpenCV with P
Save Ask us
Publisher
James Chen
Published
May 1, 2023
ISBN-13
9781738908431

Learn OpenCV with Python by Examples: Implement Computer Vision Algorithms Provided by OpenCV with P

No customer reviews yet ISBN 9781738908431 James Chen

This book is a comprehensive guide to learning the basics of computer vision and machine learning using the powerful OpenCV library and the Python programming language. The book offers a practical, hands-on approach to learn the concepts and techniques of computer vision through practical example. All codes in this book are available at Github.


Through a series of examples, the book covers a wide range of topics including image and video processing, feature detection, object detection and recognition, machine learning and deep neural networks. Each chapter includes detailed explanations of the concepts and techniques involved, as well as practical examples and code snippets that demonstrate how to implement them in Python. Throughout the book, readers will work through hands-on examples and projects, learning how to build image processing applications from scratch.


Whether you are a beginner or an experienced programmer, this book provides a valuable resource for learning computer vision with OpenCV and Python. The clear and concise writing style makes it easy for readers to follow along, and the numerous examples ensure that readers can practice and apply what they have learned. By the end of the book, readers will have a solid understanding of the fundamentals of computer vision and be able to build their own computer vision applications with confidence. This book is an excellent resource for anyone looking to learn computer vision and machine learning using the OpenCV library and Python programming language.


Table of Contents

1. Introduction 5

2. Installation 13

2.1 Install on Windows 14

2.2 Install Python on Ubuntu 16

2.3 Configure PyCharm and Install OpenCV 18

3. OpenCV Basics 25

3.1 Load and Display Images 26

3.2 Load and Display Videos 30

3.3 Display Webcam 32

3.4 Image Fundamentals 35

3.5 Draw Shapes 42

3.6 Draw Texts 48

3.7 Draw an OpenCV-like Icon 50

4. User Interaction 52

4.1 Mouse Operations 53

4.2 Draw Circles with Mouse 56

4.3 Draw Polygon with Mouse 60

4.4 Crop an Image with Mouse 62

4.5 Input Values with Trackbars 64

5. Image Processing 70

5.1 Conversion of Color Spaces 72

5.2 Resize, Crop and Rotate an Image 77

5.3 Adjust Contrast and Brightness of an Image 83

5.4 Adjust Hue, Saturation and Value 87

5.5 Blend Image 91

5.6 Bitwise Operation 94

5.7 Warp Image 101

5.8 Blur Image 107

5.9 Histogram 114

6. Object Detection 120

6.1 Canny Edge Detection 122

6.2 Dilation and Erosion 125

6.3 Shape Detection 129

6.4 Color Detection 139

6.5 Text Recognition with Tesseract 150

6.6 Human Detection 161

6.7 Face and Eye Detection 165

6.8 Remove Background 170

6.9 Blur Background 189

7. Machine Learning 196

7.1 K-Means Clustering 200

7.2 K-Nearest Neighbors 216

7.3 Support Vector Machine 237

7.4 Artificial Neural Network (ANN) 254

7.5 Convolutional Neural Network (CNN) 276

Index 305

References 308

About the Author 310


Product details

BrandJames Chen
Pub dateMay 1, 2023
ISBN-101738908437
ISBN-139781738908431
Paperback314.0 pages
LanguageEnglish
Dimensions9 × 0.71 × 6 in
Weight1 lb
Last updated 2026-03-18 18:14
$28.02 $39.99 29% off
You save $11.97 · list price $39.99
In stock — ships in 24 hours with free tracking
Delivery by Wednesday, October 28, 2026
Qty
Sign in to Add to Saved list
Free delivery on orders over $35.
15-day returns. Any reason.
Secure checkout. We never store card details.

Readers who bought this also bought

More from Artificial Intelligence - Computer Vision & Pattern Recognition
See all
Emerging Trends in Image Processing, Computer Vision and Pattern Recognition
<p><i>Emerging Trends in Image Processing, Computer Vision, and Pattern Recognition</i> discusses the latest in trends in imaging science which at its core consists of three intertwined computer science fields, namely: Image Processing, Computer Vision, and Pattern Recognition. There is significant renewed interest in each of these three fields fueled by Big Data and Data Analytic initiatives including but not limited to&#x3b; applications as diverse as computational biology, biometrics, biomedical imaging, robotics, security, and knowledge engineering. These three core topics discussed here provide a solid introduction to image processing along with low-level processing techniques<i>, </i>computer vision fundamentals along with examples of applied applications and pattern recognition algorithms and methodologies<b> </b>that will be of value to the image processing and computer vision research communities<i>.</i></p> <p>Drawing upon the knowledge of recognized experts with years of practical experience and discussing new and novel applications Editors' Leonidas Deligiannidis and Hamid Arabnia cover&#x3b; </p> <ul> <li>Many perspectives of image processing spanning from fundamental mathematical theory and sampling, to image representation and reconstruction, filtering in spatial and frequency domain, geometrical transformations, and image restoration and segmentation</li> <li>Key application techniques in computer vision some of which are camera networks and vision, image feature extraction, face and gesture recognition and biometric authentication</li> <li>Pattern recognition algorithms including but not limited to&#x3b; Supervised and unsupervised classification algorithms, Ensemble learning algorithms, and parsing algorithms.</li> <li>How to use image processing and visualization to analyze big data. </li></ul>
$127.93
Connectomics: Applications to Neuroimaging
<p><i>Connectomics: Applications to Neuroimaging</i> is unique in presenting the frontier of neuro-applications using brain connectomics techniques. The book describes state-of-the-art research that applies brain connectivity analysis techniques to a broad range of neurological and psychiatric disorders (Alzheimer's, epilepsy, stroke, autism, Parkinson's, drug or alcohol addiction, depression, bipolar, and schizophrenia), brain fingerprint applications, speech-language assessments, and cognitive assessment.</p> <p>With this book the reader will learn: </p> <ul> <p> <li>Basic mathematical principles underlying connectomics</li> <li>How connectomics is applied to a wide range of neuro-applications</li> <li>What is the future direction of connectomics techniques.</li> </ul><b> </b> <p>This book is an ideal reference for researchers and graduate students in computer science, data science, computational neuroscience, computational physics, or mathematics who need to understand how computational models derived from brain connectivity data are being used in clinical applications, as well as neuroscientists and medical researchers wanting an overview of the technical methods.</p> <p>Features: </p> <ul> <p> <li>Combines connectomics methods with relevant and interesting neuro-applications</li> <li>Covers most of the hot topics in neuroscience and clinical areas</li> <li>Appeals to researchers in a wide range of disciplines: computer science, engineering, data science, mathematics, computational physics, computational neuroscience, as well as neuroscience, and medical researchers interested in the technical methods of connectomics</li></ul>
$144.68