Skip to content
Permalink
Browse files

Fix typo in PoseNet docs (#223)

  • Loading branch information...
Gaohaoyang authored and nsthorat committed May 31, 2019
1 parent 3522b3b commit 7481b941c26edae6b963042b8e260123984532a5
Showing with 1 addition and 1 deletion.
  1. +1 −1 body-pix/README.md
@@ -65,7 +65,7 @@ const segmentation = await net.estimatePersonSegmentation(image, outputStride, s
* **image** - ImageData|HTMLImageElement|HTMLCanvasElement|HTMLVideoElement
The input image to feed through the network.
* **outputStride** - the desired stride for the outputs when feeding the image through the model. Must be 32, 16, 8. Defaults to 16. The higher the number, the faster the performance but slower the accuracy, and visa versa.
* **segmentationTreshold** - Must be between 0 and 1. For each pixel, the model estimates a score between 0 and 1 that indicates how confident it is that part of a person is displayed in that pixel. This *segmentationThreshold* is used to convert these values
* **segmentationThreshold** - Must be between 0 and 1. For each pixel, the model estimates a score between 0 and 1 that indicates how confident it is that part of a person is displayed in that pixel. This *segmentationThreshold* is used to convert these values
to binary 0 or 1s by determining the minimum value a pixel's score must have to be considered part of a person. In essence, a higher value will create a tighter crop
around a person but may result in some pixels being that are part of a person being excluded from the returned segmentation mask.

0 comments on commit 7481b94

Please sign in to comment.
You can’t perform that action at this time.