- Mastering OpenCV 4 with Python
- Alberto Fernández Villán
- 192字
- 2021-07-02 12:07:05
Conventions used
There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "The code for build_sample_image() is provided next."
A block of code is set as follows:
channels = cv2.split(img)
eq_channels = []
for ch in channels:
eq_channels.append(cv2.equalizeHist(ch))
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
Hu moments (original): '[ 1.92801772e-01 1.01173781e-02 5.70258405e-05 1.96536742e-06 2.46949980e-12 -1.88337981e-07 2.06595472e-11]'
Hu moments (rotation): '[ 1.92801772e-01 1.01173781e-02 5.70258405e-05 1.96536742e-06 2.46949980e-12 -1.88337981e-07 2.06595472e-11]'
Hu moments (reflection): '[ 1.92801772e-01 1.01173781e-02 5.70258405e-05 1.96536742e-06 2.46949980e-12 -1.88337981e-07 -2.06595472e-11]'
Any command-line input or output is written as follows:
$ mkdir opencv-project
$ cd opencv-project
Bold: Indicates a new term, an important word, or words that you see on screen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "Select System info from the Administration panel."
Warnings or important notes appear like this.
Tips and tricks appear like this.
推薦閱讀
- Cocos2d-x游戲開發(fā):手把手教你Lua語(yǔ)言的編程方法
- Elasticsearch Server(Third Edition)
- 青少年學(xué)Python(第1冊(cè))
- ASP.NET程序開發(fā)范例寶典
- 分布式數(shù)據(jù)庫(kù)原理、架構(gòu)與實(shí)踐
- Unity 5.X從入門到精通
- Anaconda數(shù)據(jù)科學(xué)實(shí)戰(zhàn)
- Deep Learning for Natural Language Processing
- 寫給青少年的人工智能(Python版·微課視頻版)
- Mastering PowerCLI
- JavaScript Unit Testing
- Windows 10 for Enterprise Administrators
- 程序員的算法趣題2
- 給產(chǎn)品經(jīng)理講技術(shù)
- 51單片機(jī)C語(yǔ)言程序設(shè)計(jì)經(jīng)典實(shí)例(第3版)