Update js_utils.md

This commit is contained in:
Dweep Joshipura 2021-02-17 10:39:05 +05:30 committed by GitHub
parent f9d97670d7
commit 0d3b0cfbbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ camera.start();
To showcase and monitor the model in elegant ways, MediaPipe has this Control Panel module. 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. 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. 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 [referred here][H-pg] > Note that the event handler function mentioned in the code can be [referred to here][H-code]
```js ```js
// Initialize the FPS control // Initialize the FPS control
const fpsControl = new FPS(); const fpsControl = new FPS();
@ -135,7 +135,7 @@ new ControlPanel(controlsElement, {
}); });
``` ```
[H-code]: ../solutions/hands.md#code
[Ho-pg]: ../solutions/holistic.md#javascript-solution-api [Ho-pg]: ../solutions/holistic.md#javascript-solution-api
[F-pg]: ../solutions/face_mesh.md#javascript-solution-api [F-pg]: ../solutions/face_mesh.md#javascript-solution-api
[H-pg]: ../solutions/hands.md#javascript-solution-api [H-pg]: ../solutions/hands.md#javascript-solution-api