Skip to content

Commit

Permalink
removed log for overall confidence
Browse files Browse the repository at this point in the history
  • Loading branch information
m13v committed Aug 24, 2024
1 parent 16115f9 commit ccb0618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screenpipe-vision/src/ocr.swift
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public func performOCR(imageData: UnsafePointer<UInt8>, length: Int, width: Int,
}

let overallConfidence = observationCount > 0 ? totalConfidence / Float(observationCount) : 0.0
print("Overall confidence: \(overallConfidence)")
// print("Overall confidence: \(overallConfidence)")
let result: [String: Any] = [
"ocrResult": ocrResult.isEmpty ? NSNull() : ocrResult,
"textElements": textElements,
Expand Down

0 comments on commit ccb0618

Please sign in to comment.