Most ML models process frames as independent images
This one uses recurrent neural network to process videos with temporal memory
As a result, its far more stable between frames and also achieves higher performance
model/mb3-i8
actual rvm model converted to tfjs graph model and quantized touint8
src/rvm.ts
main module that exposes two methods,load
andpredict
module behavior is controlled via configuration params passed topredict
methodsrc/index.ts
demo app that usesrvm
actual canvas merging (overlays, etc.) is done using nativecanvas
globalCompositeOperation
src/webcam.ts
helper class used by demo that deals with webcam initialization and control