- 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.
- 體驗設計原理:行為、情感和細節
- FreeSWITCH 1.6 Cookbook
- Mastering C# Concurrency
- PLC編程及應用實戰
- Natural Language Processing with Java and LingPipe Cookbook
- Python Data Science Cookbook
- Illustrator CC平面設計實戰從入門到精通(視頻自學全彩版)
- 深度學習原理與PyTorch實戰(第2版)
- OpenCV with Python Blueprints
- Get Your Hands Dirty on Clean Architecture
- Access數據庫應用教程(2010版)
- Android技術內幕(系統卷)
- Clojure Data Structures and Algorithms Cookbook
- 計算機軟件項目實訓指導
- Java程序設計基礎教程