- 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.
- Learning Java Functional Programming
- Delphi程序設(shè)計基礎(chǔ):教程、實驗、習(xí)題
- 樂學(xué)Web編程:網(wǎng)站制作不神秘
- jQuery從入門到精通 (軟件開發(fā)視頻大講堂)
- Lua程序設(shè)計(第4版)
- 零基礎(chǔ)學(xué)Java(第4版)
- Getting Started with SQL Server 2012 Cube Development
- C語言程序設(shè)計同步訓(xùn)練與上機指導(dǎo)(第三版)
- Django 3.0入門與實踐
- Visual Basic程序設(shè)計習(xí)題與上機實踐
- Natural Language Processing with Python Quick Start Guide
- Django Design Patterns and Best Practices
- 零基礎(chǔ)輕松學(xué)C++:青少年趣味編程(全彩版)
- Arduino電子設(shè)計實戰(zhàn)指南:零基礎(chǔ)篇
- 深入理解Java虛擬機:JVM高級特性與最佳實踐