mediapipe-nodejs
Version:
A Node.js library for running MediaPipe models that are typically browser-only. This package uses a local Express (web) server and Playwright (headless browser) to bridge the gap between Node.js and MediaPipe's browser-based APIs.
22 lines (21 loc) • 555 B
HTML
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MediaPipe Client</title>
<style>
#image_list img,
#image_list canvas {
max-width: calc(min(100%, 256px));
max-height: calc(min(100dvh, 256px));
}
</style>
</head>
<body>
<h1>MediaPipe Client</h1>
<p>This client is controlled by nodejs via playwright</p>
<div id="image_list"></div>
<script src="bundle.js"></script>
</body>
</html>