2021-03-14 13:47:38 +01:00
<!doctype html>
< html class = "default no-js" >
< head >
< meta charset = "utf-8" >
< meta http-equiv = "X-UA-Compatible" content = "IE=edge" >
2021-09-16 14:31:45 +02:00
< title > utils | @vladmandic/face-api - v1.5.3< / title >
< meta name = "description" content = "Documentation for @vladmandic/face-api - v1.5.3" >
2021-03-14 13:47:38 +01:00
< meta name = "viewport" content = "width=device-width, initial-scale=1" >
< link rel = "stylesheet" href = "../assets/css/main.css" >
< script async src = "../assets/js/search.js" id = "search-script" > < / script >
< / head >
< body >
< header >
< div class = "tsd-page-toolbar" >
< div class = "container" >
< div class = "table-wrap" >
< div class = "table-cell" id = "tsd-search" data-index = "../assets/js/search.json" data-base = ".." >
< div class = "field" >
< label for = "tsd-search-field" class = "tsd-widget search no-caption" > Search< / label >
< input id = "tsd-search-field" type = "text" / >
< / div >
< ul class = "results" >
< li class = "state loading" > Preparing search index...< / li >
< li class = "state failure" > The search index is not available< / li >
< / ul >
2021-09-16 14:31:45 +02:00
< a href = "../index.html" class = "title" > @vladmandic/face-api - v1.5.3< / a >
2021-03-14 13:47:38 +01:00
< / div >
< div class = "table-cell" id = "tsd-widgets" >
< div id = "tsd-filter" >
< a href = "#" class = "tsd-widget options no-caption" data-toggle = "options" > Options< / a >
< div class = "tsd-filter-group" >
< div class = "tsd-select" id = "tsd-filter-visibility" >
< span class = "tsd-select-label" > All< / span >
< ul class = "tsd-select-list" >
< li data-value = "public" > Public< / li >
< li data-value = "protected" > Public/Protected< / li >
< li data-value = "private" class = "selected" > All< / li >
< / ul >
< / div >
< input type = "checkbox" id = "tsd-filter-inherited" checked / >
< label class = "tsd-widget" for = "tsd-filter-inherited" > Inherited< / label >
< / div >
< / div >
< a href = "#" class = "tsd-widget menu no-caption" data-toggle = "menu" > Menu< / a >
< / div >
< / div >
< / div >
< / div >
< div class = "tsd-page-title" >
< div class = "container" >
< ul class = "tsd-breadcrumb" >
< li >
2021-09-16 14:31:45 +02:00
< a href = "../index.html" > @vladmandic/face-api - v1.5.3< / a >
2021-03-14 13:47:38 +01:00
< / li >
< li >
< a href = "utils.html" > utils< / a >
< / li >
< / ul >
< h1 > Namespace utils< / h1 >
< / div >
< / div >
< / header >
< div class = "container container-main" >
< div class = "row" >
< div class = "col-8 col-content" >
< section class = "tsd-panel-group tsd-index-group" >
< h2 > Index< / h2 >
< section class = "tsd-panel tsd-index-panel" >
< div class = "tsd-index-content" >
< section class = "tsd-index-section " >
< h3 > Functions< / h3 >
< ul class = "tsd-index-list" >
2021-07-29 15:05:49 +02:00
< li class = "tsd-kind-function tsd-parent-kind-namespace" > < a href = "utils.html#computeReshapedDimensions" class = "tsd-kind-icon" > compute< wbr > Reshaped< wbr > Dimensions< / a > < / li >
< li class = "tsd-kind-function tsd-parent-kind-namespace" > < a href = "utils.html#getCenterPoint" class = "tsd-kind-icon" > get< wbr > Center< wbr > Point< / a > < / li >
< li class = "tsd-kind-function tsd-parent-kind-namespace" > < a href = "utils.html#isDimensions" class = "tsd-kind-icon" > is< wbr > Dimensions< / a > < / li >
< li class = "tsd-kind-function tsd-parent-kind-namespace" > < a href = "utils.html#isEven" class = "tsd-kind-icon" > is< wbr > Even< / a > < / li >
< li class = "tsd-kind-function tsd-parent-kind-namespace" > < a href = "utils.html#isFloat" class = "tsd-kind-icon" > is< wbr > Float< / a > < / li >
< li class = "tsd-kind-function tsd-parent-kind-namespace" > < a href = "utils.html#isTensor" class = "tsd-kind-icon" > is< wbr > Tensor< / a > < / li >
< li class = "tsd-kind-function tsd-parent-kind-namespace" > < a href = "utils.html#isTensor1D" class = "tsd-kind-icon" > is< wbr > Tensor1D< / a > < / li >
< li class = "tsd-kind-function tsd-parent-kind-namespace" > < a href = "utils.html#isTensor2D" class = "tsd-kind-icon" > is< wbr > Tensor2D< / a > < / li >
< li class = "tsd-kind-function tsd-parent-kind-namespace" > < a href = "utils.html#isTensor3D" class = "tsd-kind-icon" > is< wbr > Tensor3D< / a > < / li >
< li class = "tsd-kind-function tsd-parent-kind-namespace" > < a href = "utils.html#isTensor4D" class = "tsd-kind-icon" > is< wbr > Tensor4D< / a > < / li >
< li class = "tsd-kind-function tsd-parent-kind-namespace" > < a href = "utils.html#isValidNumber" class = "tsd-kind-icon" > is< wbr > Valid< wbr > Number< / a > < / li >
< li class = "tsd-kind-function tsd-parent-kind-namespace" > < a href = "utils.html#isValidProbablitiy" class = "tsd-kind-icon" > is< wbr > Valid< wbr > Probablitiy< / a > < / li >
2021-03-14 13:47:38 +01:00
< li class = "tsd-kind-function tsd-parent-kind-namespace" > < a href = "utils.html#range" class = "tsd-kind-icon" > range< / a > < / li >
< li class = "tsd-kind-function tsd-parent-kind-namespace" > < a href = "utils.html#round" class = "tsd-kind-icon" > round< / a > < / li >
< / ul >
< / section >
< / div >
< / section >
< / section >
< section class = "tsd-panel-group tsd-member-group " >
< h2 > Functions< / h2 >
< section class = "tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a name = "computeReshapedDimensions" class = "tsd-anchor" > < / a >
2021-03-14 13:47:38 +01:00
< h3 > compute< wbr > Reshaped< wbr > Dimensions< / h3 >
< ul class = "tsd-signatures tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< li class = "tsd-signature tsd-kind-icon" > compute< wbr > Reshaped< wbr > Dimensions< span class = "tsd-signature-symbol" > (< / span > __namedParameters< span class = "tsd-signature-symbol" > : < / span > < a href = "../interfaces/IDimensions.html" class = "tsd-signature-type" data-tsd-kind = "Interface" > IDimensions< / a > , inputSize< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > number< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < a href = "../classes/Dimensions.html" class = "tsd-signature-type" data-tsd-kind = "Class" > Dimensions< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2021-09-08 19:51:28 +02:00
< li > Defined in < a href = "https://github.com/vladmandic/face-api/blob/master/src/utils/index.ts#L43" > utils/index.ts:43< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
2021-07-29 15:05:49 +02:00
< h5 > __namedParameters: < a href = "../interfaces/IDimensions.html" class = "tsd-signature-type" data-tsd-kind = "Interface" > IDimensions< / a > < / h5 >
2021-03-14 13:47:38 +01:00
< / li >
< li >
< h5 > inputSize: < span class = "tsd-signature-type" > number< / span > < / h5 >
< / li >
< / ul >
2021-07-29 15:05:49 +02:00
< h4 class = "tsd-returns-title" > Returns < a href = "../classes/Dimensions.html" class = "tsd-signature-type" data-tsd-kind = "Class" > Dimensions< / a > < / h4 >
2021-03-14 13:47:38 +01:00
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a name = "getCenterPoint" class = "tsd-anchor" > < / a >
2021-03-14 13:47:38 +01:00
< h3 > get< wbr > Center< wbr > Point< / h3 >
< ul class = "tsd-signatures tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< li class = "tsd-signature tsd-kind-icon" > get< wbr > Center< wbr > Point< span class = "tsd-signature-symbol" > (< / span > pts< span class = "tsd-signature-symbol" > : < / span > < a href = "../classes/Point.html" class = "tsd-signature-type" data-tsd-kind = "Class" > Point< / a > < span class = "tsd-signature-symbol" > []< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < a href = "../classes/Point.html" class = "tsd-signature-type" data-tsd-kind = "Class" > Point< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2021-09-08 19:51:28 +02:00
< li > Defined in < a href = "https://github.com/vladmandic/face-api/blob/master/src/utils/index.ts#L48" > utils/index.ts:48< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
2021-07-29 15:05:49 +02:00
< h5 > pts: < a href = "../classes/Point.html" class = "tsd-signature-type" data-tsd-kind = "Class" > Point< / a > < span class = "tsd-signature-symbol" > []< / span > < / h5 >
2021-03-14 13:47:38 +01:00
< / li >
< / ul >
2021-07-29 15:05:49 +02:00
< h4 class = "tsd-returns-title" > Returns < a href = "../classes/Point.html" class = "tsd-signature-type" data-tsd-kind = "Class" > Point< / a > < / h4 >
2021-03-14 13:47:38 +01:00
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a name = "isDimensions" class = "tsd-anchor" > < / a >
2021-03-14 13:47:38 +01:00
< h3 > is< wbr > Dimensions< / h3 >
< ul class = "tsd-signatures tsd-kind-function tsd-parent-kind-namespace" >
< li class = "tsd-signature tsd-kind-icon" > is< wbr > Dimensions< span class = "tsd-signature-symbol" > (< / span > obj< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > boolean< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2021-09-08 19:51:28 +02:00
< li > Defined in < a href = "https://github.com/vladmandic/face-api/blob/master/src/utils/index.ts#L39" > utils/index.ts:39< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > obj: < span class = "tsd-signature-type" > any< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a name = "isEven" class = "tsd-anchor" > < / a >
2021-03-14 13:47:38 +01:00
< h3 > is< wbr > Even< / h3 >
< ul class = "tsd-signatures tsd-kind-function tsd-parent-kind-namespace" >
< li class = "tsd-signature tsd-kind-icon" > is< wbr > Even< span class = "tsd-signature-symbol" > (< / span > num< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > number< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > boolean< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2021-09-08 19:51:28 +02:00
< li > Defined in < a href = "https://github.com/vladmandic/face-api/blob/master/src/utils/index.ts#L30" > utils/index.ts:30< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > num: < span class = "tsd-signature-type" > number< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a name = "isFloat" class = "tsd-anchor" > < / a >
2021-03-14 13:47:38 +01:00
< h3 > is< wbr > Float< / h3 >
< ul class = "tsd-signatures tsd-kind-function tsd-parent-kind-namespace" >
< li class = "tsd-signature tsd-kind-icon" > is< wbr > Float< span class = "tsd-signature-symbol" > (< / span > num< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > number< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > boolean< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2021-09-08 19:51:28 +02:00
< li > Defined in < a href = "https://github.com/vladmandic/face-api/blob/master/src/utils/index.ts#L26" > utils/index.ts:26< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > num: < span class = "tsd-signature-type" > number< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a name = "isTensor" class = "tsd-anchor" > < / a >
2021-03-14 13:47:38 +01:00
< h3 > is< wbr > Tensor< / h3 >
< ul class = "tsd-signatures tsd-kind-function tsd-parent-kind-namespace" >
< li class = "tsd-signature tsd-kind-icon" > is< wbr > Tensor< span class = "tsd-signature-symbol" > (< / span > tensor< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > , dim< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > number< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > boolean< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2021-09-08 19:51:28 +02:00
< li > Defined in < a href = "https://github.com/vladmandic/face-api/blob/master/src/utils/index.ts#L6" > utils/index.ts:6< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > tensor: < span class = "tsd-signature-type" > any< / span > < / h5 >
< / li >
< li >
< h5 > dim: < span class = "tsd-signature-type" > number< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a name = "isTensor1D" class = "tsd-anchor" > < / a >
2021-03-14 13:47:38 +01:00
< h3 > is< wbr > Tensor1D< / h3 >
< ul class = "tsd-signatures tsd-kind-function tsd-parent-kind-namespace" >
< li class = "tsd-signature tsd-kind-icon" > is< wbr > Tensor1D< span class = "tsd-signature-symbol" > (< / span > tensor< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > tensor< / span > < span class = "tsd-signature-symbol" > is < / span > < span class = "tsd-signature-type" > any< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2021-09-08 19:51:28 +02:00
< li > Defined in < a href = "https://github.com/vladmandic/face-api/blob/master/src/utils/index.ts#L10" > utils/index.ts:10< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > tensor: < span class = "tsd-signature-type" > any< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > tensor< / span > < span class = "tsd-signature-symbol" > is < / span > < span class = "tsd-signature-type" > any< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a name = "isTensor2D" class = "tsd-anchor" > < / a >
2021-03-14 13:47:38 +01:00
< h3 > is< wbr > Tensor2D< / h3 >
< ul class = "tsd-signatures tsd-kind-function tsd-parent-kind-namespace" >
< li class = "tsd-signature tsd-kind-icon" > is< wbr > Tensor2D< span class = "tsd-signature-symbol" > (< / span > tensor< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > tensor< / span > < span class = "tsd-signature-symbol" > is < / span > < span class = "tsd-signature-type" > any< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2021-09-08 19:51:28 +02:00
< li > Defined in < a href = "https://github.com/vladmandic/face-api/blob/master/src/utils/index.ts#L14" > utils/index.ts:14< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > tensor: < span class = "tsd-signature-type" > any< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > tensor< / span > < span class = "tsd-signature-symbol" > is < / span > < span class = "tsd-signature-type" > any< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a name = "isTensor3D" class = "tsd-anchor" > < / a >
2021-03-14 13:47:38 +01:00
< h3 > is< wbr > Tensor3D< / h3 >
< ul class = "tsd-signatures tsd-kind-function tsd-parent-kind-namespace" >
< li class = "tsd-signature tsd-kind-icon" > is< wbr > Tensor3D< span class = "tsd-signature-symbol" > (< / span > tensor< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > tensor< / span > < span class = "tsd-signature-symbol" > is < / span > < span class = "tsd-signature-type" > any< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2021-09-08 19:51:28 +02:00
< li > Defined in < a href = "https://github.com/vladmandic/face-api/blob/master/src/utils/index.ts#L18" > utils/index.ts:18< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > tensor: < span class = "tsd-signature-type" > any< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > tensor< / span > < span class = "tsd-signature-symbol" > is < / span > < span class = "tsd-signature-type" > any< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a name = "isTensor4D" class = "tsd-anchor" > < / a >
2021-03-14 13:47:38 +01:00
< h3 > is< wbr > Tensor4D< / h3 >
< ul class = "tsd-signatures tsd-kind-function tsd-parent-kind-namespace" >
< li class = "tsd-signature tsd-kind-icon" > is< wbr > Tensor4D< span class = "tsd-signature-symbol" > (< / span > tensor< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > tensor< / span > < span class = "tsd-signature-symbol" > is < / span > < span class = "tsd-signature-type" > any< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2021-09-08 19:51:28 +02:00
< li > Defined in < a href = "https://github.com/vladmandic/face-api/blob/master/src/utils/index.ts#L22" > utils/index.ts:22< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > tensor: < span class = "tsd-signature-type" > any< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > tensor< / span > < span class = "tsd-signature-symbol" > is < / span > < span class = "tsd-signature-type" > any< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a name = "isValidNumber" class = "tsd-anchor" > < / a >
2021-03-14 13:47:38 +01:00
< h3 > is< wbr > Valid< wbr > Number< / h3 >
< ul class = "tsd-signatures tsd-kind-function tsd-parent-kind-namespace" >
< li class = "tsd-signature tsd-kind-icon" > is< wbr > Valid< wbr > Number< span class = "tsd-signature-symbol" > (< / span > num< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > boolean< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2021-09-08 19:51:28 +02:00
< li > Defined in < a href = "https://github.com/vladmandic/face-api/blob/master/src/utils/index.ts#L57" > utils/index.ts:57< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > num: < span class = "tsd-signature-type" > any< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a name = "isValidProbablitiy" class = "tsd-anchor" > < / a >
2021-03-14 13:47:38 +01:00
< h3 > is< wbr > Valid< wbr > Probablitiy< / h3 >
< ul class = "tsd-signatures tsd-kind-function tsd-parent-kind-namespace" >
< li class = "tsd-signature tsd-kind-icon" > is< wbr > Valid< wbr > Probablitiy< span class = "tsd-signature-symbol" > (< / span > num< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > any< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > boolean< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2021-09-08 19:51:28 +02:00
< li > Defined in < a href = "https://github.com/vladmandic/face-api/blob/master/src/utils/index.ts#L61" > utils/index.ts:61< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > num: < span class = "tsd-signature-type" > any< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > boolean< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace" >
< a name = "range" class = "tsd-anchor" > < / a >
< h3 > range< / h3 >
< ul class = "tsd-signatures tsd-kind-function tsd-parent-kind-namespace" >
< li class = "tsd-signature tsd-kind-icon" > range< span class = "tsd-signature-symbol" > (< / span > num< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > number< / span > , start< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > number< / span > , step< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > number< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > number< / span > < span class = "tsd-signature-symbol" > []< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2021-09-08 19:51:28 +02:00
< li > Defined in < a href = "https://github.com/vladmandic/face-api/blob/master/src/utils/index.ts#L53" > utils/index.ts:53< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > num: < span class = "tsd-signature-type" > number< / span > < / h5 >
< / li >
< li >
< h5 > start: < span class = "tsd-signature-type" > number< / span > < / h5 >
< / li >
< li >
< h5 > step: < span class = "tsd-signature-type" > number< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > number< / span > < span class = "tsd-signature-symbol" > []< / span > < / h4 >
< / li >
< / ul >
< / section >
< section class = "tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace" >
< a name = "round" class = "tsd-anchor" > < / a >
< h3 > round< / h3 >
< ul class = "tsd-signatures tsd-kind-function tsd-parent-kind-namespace" >
< li class = "tsd-signature tsd-kind-icon" > round< span class = "tsd-signature-symbol" > (< / span > num< span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > number< / span > , prec< span class = "tsd-signature-symbol" > ?: < / span > < span class = "tsd-signature-type" > number< / span > < span class = "tsd-signature-symbol" > )< / span > < span class = "tsd-signature-symbol" > : < / span > < span class = "tsd-signature-type" > number< / span > < / li >
< / ul >
< ul class = "tsd-descriptions" >
< li class = "tsd-description" >
< aside class = "tsd-sources" >
< ul >
2021-09-08 19:51:28 +02:00
< li > Defined in < a href = "https://github.com/vladmandic/face-api/blob/master/src/utils/index.ts#L34" > utils/index.ts:34< / a > < / li >
2021-03-14 13:47:38 +01:00
< / ul >
< / aside >
< h4 class = "tsd-parameters-title" > Parameters< / h4 >
< ul class = "tsd-parameters" >
< li >
< h5 > num: < span class = "tsd-signature-type" > number< / span > < / h5 >
< / li >
< li >
< h5 > prec: < span class = "tsd-signature-type" > number< / span > < span class = "tsd-signature-symbol" > = 2< / span > < / h5 >
< / li >
< / ul >
< h4 class = "tsd-returns-title" > Returns < span class = "tsd-signature-type" > number< / span > < / h4 >
< / li >
< / ul >
< / section >
< / section >
< / div >
< div class = "col-4 col-menu menu-sticky-wrap menu-highlight" >
< nav class = "tsd-navigation primary" >
< ul >
< li class = " " >
2021-07-29 15:05:49 +02:00
< a href = "../index.html" > Exports< / a >
2021-03-14 13:47:38 +01:00
< / li >
< li class = " tsd-kind-namespace" >
< a href = "draw.html" > draw< / a >
< / li >
< li class = "current tsd-kind-namespace" >
< a href = "utils.html" > utils< / a >
< / li >
< / ul >
< / nav >
< nav class = "tsd-navigation secondary menu-sticky" >
< ul class = "before-current" >
< li class = " tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a href = "utils.html#computeReshapedDimensions" class = "tsd-kind-icon" > compute< wbr > Reshaped< wbr > Dimensions< / a >
2021-03-14 13:47:38 +01:00
< / li >
< li class = " tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a href = "utils.html#getCenterPoint" class = "tsd-kind-icon" > get< wbr > Center< wbr > Point< / a >
2021-03-14 13:47:38 +01:00
< / li >
< li class = " tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a href = "utils.html#isDimensions" class = "tsd-kind-icon" > is< wbr > Dimensions< / a >
2021-03-14 13:47:38 +01:00
< / li >
< li class = " tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a href = "utils.html#isEven" class = "tsd-kind-icon" > is< wbr > Even< / a >
2021-03-14 13:47:38 +01:00
< / li >
< li class = " tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a href = "utils.html#isFloat" class = "tsd-kind-icon" > is< wbr > Float< / a >
2021-03-14 13:47:38 +01:00
< / li >
< li class = " tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a href = "utils.html#isTensor" class = "tsd-kind-icon" > is< wbr > Tensor< / a >
2021-03-14 13:47:38 +01:00
< / li >
< li class = " tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a href = "utils.html#isTensor1D" class = "tsd-kind-icon" > is< wbr > Tensor1D< / a >
2021-03-14 13:47:38 +01:00
< / li >
< li class = " tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a href = "utils.html#isTensor2D" class = "tsd-kind-icon" > is< wbr > Tensor2D< / a >
2021-03-14 13:47:38 +01:00
< / li >
< li class = " tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a href = "utils.html#isTensor3D" class = "tsd-kind-icon" > is< wbr > Tensor3D< / a >
2021-03-14 13:47:38 +01:00
< / li >
< li class = " tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a href = "utils.html#isTensor4D" class = "tsd-kind-icon" > is< wbr > Tensor4D< / a >
2021-03-14 13:47:38 +01:00
< / li >
< li class = " tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a href = "utils.html#isValidNumber" class = "tsd-kind-icon" > is< wbr > Valid< wbr > Number< / a >
2021-03-14 13:47:38 +01:00
< / li >
< li class = " tsd-kind-function tsd-parent-kind-namespace" >
2021-07-29 15:05:49 +02:00
< a href = "utils.html#isValidProbablitiy" class = "tsd-kind-icon" > is< wbr > Valid< wbr > Probablitiy< / a >
2021-03-14 13:47:38 +01:00
< / li >
< li class = " tsd-kind-function tsd-parent-kind-namespace" >
< a href = "utils.html#range" class = "tsd-kind-icon" > range< / a >
< / li >
< li class = " tsd-kind-function tsd-parent-kind-namespace" >
< a href = "utils.html#round" class = "tsd-kind-icon" > round< / a >
< / li >
< / ul >
< / nav >
< / div >
< / div >
< / div >
< footer >
< div class = "container" >
< h2 > Legend< / h2 >
< div class = "tsd-legend-group" >
< ul class = "tsd-legend" >
< li class = "tsd-kind-constructor tsd-parent-kind-class" > < span class = "tsd-kind-icon" > Constructor< / span > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class" > < span class = "tsd-kind-icon" > Property< / span > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class" > < span class = "tsd-kind-icon" > Method< / span > < / li >
< / ul >
< ul class = "tsd-legend" >
< li class = "tsd-kind-constructor tsd-parent-kind-class tsd-is-inherited" > < span class = "tsd-kind-icon" > Inherited constructor< / span > < / li >
< li class = "tsd-kind-property tsd-parent-kind-class tsd-is-inherited" > < span class = "tsd-kind-icon" > Inherited property< / span > < / li >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-inherited" > < span class = "tsd-kind-icon" > Inherited method< / span > < / li >
< / ul >
< ul class = "tsd-legend" >
< li class = "tsd-kind-property tsd-parent-kind-interface" > < span class = "tsd-kind-icon" > Property< / span > < / li >
< / ul >
< ul class = "tsd-legend" >
< li class = "tsd-kind-method tsd-parent-kind-class tsd-is-static" > < span class = "tsd-kind-icon" > Static method< / span > < / li >
< / ul >
< / div >
< / div >
< / footer >
< div class = "overlay" > < / div >
< script src = "../assets/js/main.js" > < / script >
< / body >
< / html >