Update js_utils.md
This commit is contained in:
parent
f9d97670d7
commit
0d3b0cfbbc
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user