All notable changes to this project will be documented in this file.
- Bundle updated by updating build tools. No API-breaking changes.
- Fix import-time crash on environments without Canvas and OffscreenCanvas support
- Typescript typings for VideoCapture.start return type
- Enhanced typings & some docs examples
- Add support for WebWorker environment via OffscreenCanvas
- Replace
eval
withnew Function
in tensor utilsgm.tensorInvert
andgm.flipTensor
- Change minifier, replace uglify with terser
- Fixed error on try to run is uninitialized operation
- Fix dependencies with vulnerabilities
- Assertion for WebGL availability (#77)
- Typescript typings for some operations
- Resize operation
gm.resize
- Ability to use HTMLCanvasElement and HTMLVideoElement as operation input
- Experimental feature with output directly into canvas with context 2d
- Algorithms used in
gm.upsample
andgm.downsample
- Typo in
Tensor.release
method (#62) - Bugs in
gm.upsample
andgm.downsample
operations on some video hardware (#36)
- Typescript typings
- Cross Origin Issue for imageTensorFromURL (@adamelmore)
- Typescript support
- Shortcut for library as umd module:
gm
.
- Enhance performance when float polyfill is not needed
- KernelConstructor: make arguments of main glsl function optional for check.
- Enhance errors messages
- Downsample operation supports RGBA (#32), add test
- Fix the requested ratio for webrtc video
- Squared summed area table operation
gm.sqsat
- Opearation renamed
gm.summedAreaTable
->gm.sat
- Enhance precision of floats encode/decode on iOS devices
- PCLines operation extra lines bug on Safari (part of #25)
- Export internal PCLines functions:
gm.pcLines
gm.pcLinesEnhance
gm.pcLinesReduceMax
gm.pcLinesTransform
- Math Operations:
gm.sub
gm.div
gm.mult
gm.add
gm.subScalar
gm.divScalar
gm.multScalar
gm.addScalar
- Haar features related functions:
gm.calcHAARFeature
gm.calcIntegralSum
- Bundle size reduced by removing comments from glsl operations
- Convolution 2d operation
gm.conv2d
- Convolution builtin kernels
gm.kernels
- Upsample operation
gm.upsample
- Summed Area Table operation (Integral image)
gm.summedAreaTable
- Adaptive threshold operation
gm.adaptiveThreshold
- util function
gm.tensorFromFlat
- Morphological operations:
- Dilate
gm.dilate
- Erode
gm.erode
- Extended Morphology
gm.morphologyEx
- Dilate
- Substract operation
gm.sub
- util function
gm.tensorAssertMSEEqual
- Allow alpha channel in threshold operation