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

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "We can include other contexts through the use of the include directive."

A block of code is set as follows:

import cv2
import numpy as np

img = cv2.imread('images/chess_board.png')
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
gray = np.float32(gray)
dst = cv2.cornerHarris(gray, 2, 23, 0.04)

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

img = cv2.imread('images/chess_board.png')
gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY)
gray = np.float32(gray)
dst = cv2.cornerHarris(gray, 2, 23, 0.04)

Any command-line input or output is written as follows:

mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=Release -DOPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules -D CMAKE_INSTALL_PREFIX=/usr/local ..
make

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: " On Windows Vista / Windows 7 / Windows 8, click on the Start menu."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 阿坝县| 天津市| 宾川县| 曲麻莱县| 甘谷县| 胶州市| 邮箱| 自贡市| 珲春市| 镇康县| 孟津县| 青川县| 集安市| 绥江县| 朔州市| 玉山县| 宣汉县| 营山县| 庄浪县| 那坡县| 正阳县| 顺昌县| 青岛市| 车致| 五指山市| 济阳县| 东城区| 淳化县| 田林县| 玉田县| 麦盖提县| 新宾| 富蕴县| 阳谷县| 运城市| 衡阳县| 静乐县| 通江县| 高陵县| 天台县| 柯坪县|