Yes, I tried, but this application uses live capture whereas I plan to take a single frame photo. Our captureOutput functions are different, would this make a difference?
Post
Replies
Boosts
Views
Activity
Yes, I tried, but this application uses live capture whereas I plan to take a single frame photo. Our captureOutput functions are different; would this make a difference?
Yes, I tried, but this application uses live capture whereas I plan to take a single frame photo. Our captureOutput functions are different; would this make a difference?
The code I used to get the output turned out to be wrong. I fixed it like this
<
for result in results {
let sortedLabels = result.labels.sorted { $0.confidence > $1.confidence }
for object in sortedLabels where object.confidence > 0.9 {
true_results.append(object.identifier)
true_confidence.append(Double(object.confidence))
}
}