Computer Vision for the Web
上QQ阅读APP看书,第一时间看更新

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: "The installation of a JavaScript library is straightforward. You just need to add a script file to your <head> tag."

A block of code is set as follows:

var dataBuffer = new jsfeat.data_t(cols * rows, imageData.data.buffer);
var mat = new jsfeat.matrix_t(cols, rows, jsfeat.U8C4_t, dataBuffer);
var gray = tracking.Image.grayscale(mat.data, cols, rows, true);

New terms and important words are shown in bold.

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.