Skip to content

Commit

Permalink
Rename last remnants of BodyPix
Browse files Browse the repository at this point in the history
This fixes the body segmentation examples in #81.
  • Loading branch information
gohai committed Mar 16, 2024
1 parent 13ba73c commit 51a5d72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const bodySegmentation = ml5.bodySegmentation(?modelName, ?options, ?callback);
**Parameters:**
- **modelName**: OPTIONAL: A string specifying which model to use, "SelfieSegmentation" or "BodyPix".
- **modelName**: OPTIONAL: A string specifying which model to use, "SelfieSegmentation" or "BodySegmentation".
- **options**: OPTIONAL. An object to change the default configuration of the model. See the example options:
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -25,7 +25,7 @@ export default Object.assign({ p5Utils }, preloadRegister(withPreload), {
faceMesh,
bodyPose,
setBackend,
bodyPix,
bodySegmentation,
});

communityStatement();

0 comments on commit 51a5d72

Please sign in to comment.