官术网_书友最值得收藏!

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.
主站蜘蛛池模板: 乐山市| 拜城县| 会泽县| 六枝特区| 怀柔区| 台江县| 乌兰浩特市| 北辰区| 太仓市| 长葛市| 米泉市| 安丘市| 涿鹿县| 万宁市| 突泉县| 乌拉特后旗| 长乐市| 福泉市| 双城市| 赣州市| 梁河县| 西畴县| 古蔺县| 建水县| 出国| 宁武县| 浪卡子县| 通海县| 响水县| 瓦房店市| 顺义区| 平昌县| 朝阳区| 东阳市| 章丘市| 托克逊县| 宜丰县| 喀喇沁旗| 兰考县| 平泉县| 泽州县|