Learn OpenCV with Python by Examples: Implement Computer Vision Algorithms Provided by OpenCV with Python for Image Processing, Object Detection and M
暫譯: 透過範例學習 OpenCV 與 Python:使用 Python 實作 OpenCV 提供的影像處理、物件偵測與 M aviendash

Chen, James

  • 出版商: James Chen
  • 出版日期: 2023-05-01
  • 售價: $1,580
  • 貴賓價: 9.5 折 $1,501
  • 語言: 英文
  • 頁數: 316
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1738908437
  • ISBN-13: 9781738908431
  • 相關分類: Computer Vision、影像辨識 Image-recognition、Python
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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


商品描述(中文翻譯)

本書是一本完整的指南,旨在使用功能強大的 OpenCV 函式庫與 Python 程式語言,學習電腦視覺與機器學習的基礎。本書採用實務操作的方式,透過實際範例學習電腦視覺的概念與技術。本書中的所有程式碼皆可在 GitHub 取得。

本書透過一系列範例,涵蓋廣泛的主題,包括影像與視訊處理、特徵偵測、物件偵測與辨識、機器學習,以及深度神經網路。每一章都詳細說明相關概念與技術,並提供實務範例與程式碼片段,示範如何在 Python 中實作這些內容。在全書的學習過程中,讀者將透過實作範例與專案,學習如何從頭建立影像處理應用程式。

無論您是初學者或經驗豐富的程式設計師,本書都是學習使用 OpenCV 與 Python 進行電腦視覺開發的實用資源。清晰簡潔的寫作風格讓讀者容易理解並跟著學習,而大量的範例則確保讀者能夠練習並應用所學內容。讀完本書後,讀者將扎實掌握電腦視覺的基礎,並能夠充滿信心地建立自己的電腦視覺應用程式。對於任何想使用 OpenCV 函式庫與 Python 程式語言學習電腦視覺和機器學習的人而言,本書都是非常優良的學習資源。

目錄

1. 導論 5

2. 安裝 13
2.1 在 Windows 上安裝 14
2.2 在 Ubuntu 上安裝 Python 16
2.3 設定 PyCharm 並安裝 OpenCV 18

3. OpenCV 基礎 25
3.1 載入與顯示影像 26
3.2 載入與顯示視訊 30
3.3 顯示網路攝影機畫面 32
3.4 影像基礎 35
3.5 繪製形狀 42
3.6 繪製文字 48
3.7 繪製類似 OpenCV 的圖示 50

4. 使用者互動 52
4.1 滑鼠操作 53
4.2 使用滑鼠繪製圓形 56
4.3 使用滑鼠繪製多邊形 60
4.4 使用滑鼠裁切影像 62
4.5 使用滑桿輸入數值 64

5. 影像處理 70
5.1 色彩空間轉換 72
5.2 調整影像大小、裁切與旋轉 77
5.3 調整影像的對比度與亮度 83
5.4 調整色相、飽和度與明度 87
5.5 混合影像 91
5.6 位元運算 94
5.7 影像扭曲 101
5.8 影像模糊 107
5.9 直方圖 114

6. 物件偵測 120
6.1 Canny 邊緣偵測 122
6.2 膨脹與侵蝕 125
6.3 形狀偵測 129
6.4 色彩偵測 139
6.5 使用 Tesseract 進行文字辨識 150
6.6 人體偵測 161
6.7 臉部與眼睛偵測 165
6.8 移除背景 170
6.9 背景模糊 189

7. 機器學習 196
7.1 K-Means 分群 200
7.2 K-最近鄰 216
7.3 支援向量機 237
7.4 人工神經網路(ANN)254
7.5 卷積神經網路(CNN)276

索引 305

參考資料 308

關於作者 310

最後瀏覽商品 (17)