- Machine Learning for OpenCV
- Michael Beyeler
- 196字
- 2021-07-02 19:47:17
Dealing with data using OpenCV and Python
Although raw data can come from a variety of sources and in a wide range of formats, it will help us to think of all data fundamentally as arrays of numbers. For example, images can be thought of as simply 2D arrays of numbers representing pixel brightness across an area. Sound clips can be thought of 1D arrays of intensity over time. For this reason, efficient storage and manipulation of numerical arrays is absolutely fundamental to machine learning.
If you have mostly been using OpenCV's C++ application programming interface (API) and plan on continuing to do so, you might find that dealing with data in C++ can be a bit of a pain. Not only will you have to deal with the syntactic overhead of the C++ language, but you will also have to wrestle with different data types and cross-platform compatibility issues.
This process is radically simplified if you use OpenCV's Python API because you automatically get access to a large number of open-source packages from the Scientific Python (SciPy) community. Case in point is the Numerical Python (NumPy) package, around which most scientific computing tools are built.
- Vue 3移動Web開發(fā)與性能調(diào)優(yōu)實(shí)戰(zhàn)
- 程序員面試筆試寶典(第3版)
- 程序設(shè)計(jì)與實(shí)踐(VB.NET)
- 工程軟件開發(fā)技術(shù)基礎(chǔ)
- Learning PostgreSQL
- Photoshop智能手機(jī)APP UI設(shè)計(jì)之道
- C#程序設(shè)計(jì)(慕課版)
- 微信小程序項(xiàng)目開發(fā)實(shí)戰(zhàn)
- C# 8.0核心技術(shù)指南(原書第8版)
- Android開發(fā):從0到1 (清華開發(fā)者書庫)
- Extreme C
- Hands-On Nuxt.js Web Development
- STM8實(shí)戰(zhàn)
- Software Development on the SAP HANA Platform
- 大學(xué)計(jì)算機(jī)應(yīng)用基礎(chǔ)(Windows 7+Office 2010)(IC3)