You need to enable JavaScript to run this app.Cast - GammaCV
GammaCV Logo
DocsExamplesGitHub

Cast

Description

Change the texture data type

Params
tSrcTensorThe source to be changed.
dtypestringThe destination data type
Example
gm.cast(inputImage, 'float32');