From fae14e83321eb075ad8c4b9ef74652bfc9cda0d7 Mon Sep 17 00:00:00 2001 From: gohai Date: Sat, 16 Mar 2024 17:33:05 +0800 Subject: [PATCH] Rename last remnants of BodyPix This fixes the body segmentation examples in #81. --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index ec993115..2f896780 100644 --- a/src/index.js +++ b/src/index.js @@ -7,7 +7,7 @@ import * as tf from "@tensorflow/tfjs"; import * as tfvis from "@tensorflow/tfjs-vis"; import p5Utils from "./utils/p5Utils"; import setBackend from "./utils/setBackend"; -import bodyPix from "./BodySegmentation"; +import bodySegmentation from "./BodySegmentation"; import communityStatement from "./utils/communityStatement"; import imageClassifier from "./ImageClassifier"; import preloadRegister from "./utils/p5PreloadHelper"; @@ -25,7 +25,7 @@ export default Object.assign({ p5Utils }, preloadRegister(withPreload), { faceMesh, bodyPose, setBackend, - bodyPix, + bodySegmentation, }); communityStatement();