- Mastering OpenCV 4 with Python
- Alberto Fernández Villán
- 212字
- 2021-07-02 12:07:15
An introduction to handling files and images
Before going deeper in handling files and images, we are going to give you an overview of what we will look at in this chapter. This overview is summarized in the following diagram:

In the preceding diagram, you can see that a computer vision project (for example, an OpenCV and Python project) should deal with some input files (for example, files and images). Additionally, after some processing, the project can output some files (for example, images and files). So, in this chapter, we are going to see how to cope with these requirements and how to implement this flow (input-processing-output) properly.
A primary and necessary step to execute a program is to properly cope with command-line arguments, which are parameters that are given to a program or script containing some kind of parameterized information. For example, if you write a script to add two numbers, a common approach is to have two arguments, which are the two numbers that are necessary to perform the addition. In computer vision projects, images and different types of files are usually passed to the script as command-line arguments.
- Qt 5 and OpenCV 4 Computer Vision Projects
- 流量的秘密:Google Analytics網(wǎng)站分析與優(yōu)化技巧(第2版)
- Python自動化運維快速入門
- 算法基礎(chǔ):打開程序設(shè)計之門
- ASP.NET動態(tài)網(wǎng)頁設(shè)計教程(第三版)
- Mastering KnockoutJS
- UVM實戰(zhàn)
- 微信小程序全棧開發(fā)技術(shù)與實戰(zhàn)(微課版)
- Learning Unreal Engine Android Game Development
- Scala for Machine Learning(Second Edition)
- QGIS Python Programming Cookbook(Second Edition)
- 并行編程方法與優(yōu)化實踐
- 數(shù)據(jù)科學(xué)中的實用統(tǒng)計學(xué)(第2版)
- 大學(xué)計算機應(yīng)用基礎(chǔ)(Windows 7+Office 2010)(IC3)
- C語言程序設(shè)計與應(yīng)用實驗指導(dǎo)書(第2版)