Skip to Content
Python机器学习手册:从数据预处理到深度学习
book

Python机器学习手册:从数据预处理到深度学习

by Chris Albon
July 2019
Intermediate to advanced
365 pages
8h 13m
Chinese
Publishing House of Electronics Industry
Content preview from Python机器学习手册:从数据预处理到深度学习
127
8
图像处理
8.0
 简介
图像分类是机器学习中最令人兴奋的领域之一。从图像中识别出图案和物体的能力是机
器学习算法的一种非常强大的能力。然而,在将机器学习算法应用于图像之前,通常需
要先将原始图像转换为算法可用的特征。
我们将使用开源计算机视觉库(
OpenCV
)来处理图像。虽然有许多优秀的图像处理库,
OpenCV
最流行,其文档也是最详细的。使用
OpenCV
时最大的障碍之一就是安装。
然而幸运的是,如果使用
Python 3
(在本书出版时
OpenCV
还不能与
Python 3.6
以上的
版本一起使用),就可以使用
Anaconda
的包管理器工具
conda
来安装
OpenCV
,只需要
在终端中执行下面这一行命令即可
conda install --channel https://conda.anaconda.org/menpoopencv3
之后,可以打开一个记事本,导入
OpenCV
并检查版本号(
3.1.0
),以查看
OpenCV
安装情况
import cv2
cv2.__version__
如果使用
conda
安装
OpenCV
时遇到问题,在网络上可以找到很多教程。
本章将使用一组示例图像,你可以从
GitHub
下载这些数据(
https://github.com/
chrisalbon/simulated_datasets
)。
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

精通特征工程

精通特征工程

Alice Zheng, Amanda Casari
精通機器學習

精通機器學習

Aurélien Géron
Python数据分析基础

Python数据分析基础

Clinton W. Brownley

Publisher Resources

ISBN: 9787121369629