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

  • OpenCV By Example
  • Prateek Joshi David Millán Escrivá Vinícius Godoy
  • 170字
  • 2021-07-23 14:41:57

Conventions

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

Code words in text are shown as follows: "For a basic project based on an executable build from one source code file, a two line CMakeLists.txt file is all that is needed ."

A block of code is set as follows:

#include "opencv2/opencv.hpp"
using namespace cv;

int main(int, char** argv)
{
  FileStorage fs2("test.yml", FileStorage::READ);
  Mat r;
  fs2["Result"] >> r;
  std::cout << r << std::endl;
  fs2.release();
  return 0;
}

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

@Path("departments")
@Produces(MediaType.APPLICATION_JSON) 
public class DepartmentResource{
//Class implementation goes here...    
}

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

C:\> setx -m OPENCV_DIR D:\OpenCV\Build\x64\vc11

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "To show the control panel we can push the last tool bar button, right click in any part of QT Window and select Display properties window."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 高平市| 大足县| 潢川县| 苍南县| 合江县| 竹溪县| 龙岩市| 龙里县| 金山区| 民勤县| 通许县| 富顺县| 苗栗市| 罗平县| 新竹县| 穆棱市| 东港市| 保康县| 左云县| 纳雍县| 宁武县| 博乐市| 黄冈市| 贵溪市| 怀化市| 海原县| 甘泉县| 乌审旗| 桓仁| 堆龙德庆县| 大兴区| 湖南省| 磴口县| 汤阴县| 洪洞县| 新疆| 正镶白旗| 南投县| 元谋县| 卫辉市| 威信县|