From f3adb04c76d477da39fd3d05f7631da8dbd70fde Mon Sep 17 00:00:00 2001 From: Dweep Joshipura Date: Wed, 17 Feb 2021 10:30:39 +0530 Subject: [PATCH] Update code --- docs/getting_started/js_utils.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/getting_started/js_utils.md b/docs/getting_started/js_utils.md index a5f469a61..bf8c64926 100644 --- a/docs/getting_started/js_utils.md +++ b/docs/getting_started/js_utils.md @@ -81,10 +81,11 @@ camera.start(); To showcase and monitor the model in elegant ways, MediaPipe has this Control Panel module. This panel is also convenient to use and set up. One of the most interesting features is the built-in `FPS` object that allows us to monitor the FPS or Frames per Second. +> Note that the event handler function mentioned in the code is [this][Ho-pg] ```js // Initialize the FPS control const fpsControl = new FPS(); -// In the event handler function onResults() in the [Hands demo][Ho-pg]() +// In the event handler function onResults() function onResults(results) { // Tick the FPS, i.e., set Incrementation breaks fpsControl.tick();