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

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.
主站蜘蛛池模板: 新昌县| 和林格尔县| 甘德县| 乌拉特前旗| 泰兴市| 五原县| 酒泉市| 昭觉县| 佳木斯市| 霍邱县| 哈密市| 法库县| 诸城市| 镇坪县| 延寿县| 溆浦县| 广东省| 三台县| 峡江县| 康乐县| 桐乡市| 三门峡市| 沐川县| 天柱县| 托克托县| 阿拉善右旗| 五莲县| 荔波县| 邯郸县| 都安| 修水县| 呈贡县| 白水县| 左贡县| 岐山县| 即墨市| 临猗县| 故城县| 宁津县| 东丰县| 紫金县|