dcorcoran commited on
Commit
0a91a3c
·
1 Parent(s): 2d6634d

Fixed naming issue with is_evovlved and removed duplicate _is_evolved() call

Browse files
Files changed (1) hide show
  1. app/services/ocr_service.py +2 -2
app/services/ocr_service.py CHANGED
@@ -90,7 +90,7 @@ class OCRService:
90
  "moves": self._extract_moves(moves_region),
91
  "length": self._extract_length(length_weight_region),
92
  "weight": self._extract_weight(length_weight_region),
93
- "is_evolved": self._is_evolved(image)
94
  }
95
 
96
 
@@ -248,7 +248,7 @@ class OCRService:
248
  "HP": "blue",
249
  "Length/Weight": "orange",
250
  "Moves": "green",
251
- "Is Evolved": "black"
252
  }
253
 
254
  for label, box in regions.items():
 
90
  "moves": self._extract_moves(moves_region),
91
  "length": self._extract_length(length_weight_region),
92
  "weight": self._extract_weight(length_weight_region),
93
+ "is_evolved": evolved
94
  }
95
 
96
 
 
248
  "HP": "blue",
249
  "Length/Weight": "orange",
250
  "Moves": "green",
251
+ "is_evolved": "black"
252
  }
253
 
254
  for label, box in regions.items():