Compare commits

...

3 Commits

Author SHA1 Message Date
e364a7fb59
Merge remote-tracking branch 'origin/main' 2024-07-17 19:19:32 +02:00
c6f0817d16
fix confidence 2024-07-17 19:19:26 +02:00
66b839e78f
add prebuitl wheel 2024-07-17 18:59:20 +02:00
2 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ def convert_to_cpai_compatible(result):
y_max = max(y_coords)
response['predictions'].append({
'confidence': plate['confidence'] / 100,
'confidence': plate['confidences'][0] / 100,
'label': "Plate: " + plate['text'],
'plate': plate['text'],
'x_min': x_min,