datatype CV_16F in opencv.js

asked 2019-10-15 15:50:29 -0600

Hi everyone,

is it possible to enable the new datatype cv.CV_16F in the webassembly version of opencv 4.0?

I know that this is meant for GPU-based computing. However, given the fact that webassembly can nowadays only manage 2GB of RAM, a half precision float datatype could come in handy...

edit retag flag offensive close merge delete

Comments

imho, this is unlikely to happen.

16F is currently only used to serialize dnn models, the actual computation is still done in 32F

berak gravatar imageberak ( 2019-10-16 00:39:44 -0600 )edit

Ok... For my RAM limited application, computation in 32F and storage in 16F would be totally OK, though...

DrHouse gravatar imageDrHouse ( 2019-10-16 01:09:04 -0600 )edit