MCPcopy Create free account
hub / github.com/a7medev/react-native-ml-kit / getRotationDegree

Function getRotationDegree

example/src/text-recognition/TextMap.tsx:69–71  ·  view source on GitHub ↗
(block: TextBlock)

Source from the content-addressed store, hash-verified

67 );
68
69 function getRotationDegree(block: TextBlock) {
70 return block.lines[0]?.rotationDegree?.toFixed(2) ?? 0;
71 }
72
73 function getConfidenceScore(block: TextBlock) {
74 return block.lines[0]?.confidenceScore?.toFixed(2) ?? 0;

Callers 1

TextMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected