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

Function getConfidenceScore

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

Source from the content-addressed store, hash-verified

71 }
72
73 function getConfidenceScore(block: TextBlock) {
74 return block.lines[0]?.confidenceScore?.toFixed(2) ?? 0;
75 }
76};
77
78const styles = StyleSheet.create({

Callers 1

TextMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected