MCPcopy Create free account
hub / github.com/tensorflow/tfjs-examples / getOutputTensorHeight

Function getOutputTensorHeight

react-native/pose-detection/App.tsx:243–247  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

241 };
242
243 const getOutputTensorHeight = () => {
244 return isPortrait() || IS_ANDROID
245 ? OUTPUT_TENSOR_HEIGHT
246 : OUTPUT_TENSOR_WIDTH;
247 };
248
249 const getTextureRotationAngleInDegrees = () => {
250 // On Android, the camera texture will rotate behind the scene as the phone

Callers 2

renderPoseFunction · 0.85
AppFunction · 0.85

Calls 1

isPortraitFunction · 0.85

Tested by

no test coverage detected