Skip to content

Commit

Permalink
Fix typo in PoseNet docs (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaohaoyang authored and Nikhil Thorat committed May 31, 2019
1 parent 3522b3b commit 7481b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion body-pix/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 7481b94

Please sign in to comment.